syndication

PUT /v1/syndication/posts/{postId}

Change a held post's copy before it goes out.

Све syndication крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X PUT https://api.zinndigital.com/v1/syndication/posts/{postId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "text": <string> }'

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

⛔ Refused once the post has gone out — there is nothing to edit. The channel's character limit is enforced here, so a customer typing 400 characters into a Bluesky box is told while they are typing. Gated on syndication.manage.

Параметри

НазивТипОбавезноШта је ово
postId (path)stringДа—

Тело захтева

НазивТипОбавезноШта је ово
textstringДа—

Одговор

НазивТипОбавезноШта је ово
idstringДа—
channelstringДа—
connection_idstringДа—
connection_labelstringДа—
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>Да⛔⛔ needs_reconnect is NOT failed. skipped means the customer said no or the connection was removed — nothing went wrong.
textstringДа—
remote_urlstringДаThe live post, read back from the channel where it returns one. ⛔ Empty where the vendor gives us nothing to build a URL from (a Slack incoming webhook answers the literal string…
droppedstring[][]Да[[field, reason], …] — what this channel could not carry, and WHY. The reason travels: "no image endpoint" and "the upload was refused" are different problems with different…
errorstringДаA machine code, never a sentence.
cost_microsintegerДаWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerДа—
posted_atstringДа—

Грешке које ова крајња тачка може вратити

401 · 403 · 404 · 422