syndication

PUT /v1/syndication/posts/{postId}

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

Усі кінцеві точки syndication

Уся документація для розробників

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ця кінцева точка не вказує конкретного дозволу в специфікації, тому надайте своєму ключу мінімально необхідні права та перевірте відповідь, замість того щоб припускати.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

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 у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого 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