syndication

PUT /v1/syndication/posts/{postId}

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

Lahat ng syndication endpoint

Pagpapatotoo

Magpadala ng API key bilang bearer token. Ang endpoint na ito ay hindi naglatag ng tiyak na pahintulot sa pagtutukoy, kaya ibigay sa iyong key ang pinakamababang kailangan nito at suriin ang tugon sa halip na umasa.

Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.

Subukan ito

Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.

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

Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API

Mga Detalye

⛔ 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`.

Mga Parameter

PangalanUriKailanganAno ito
postId (path)stringOo

Katawan ng kahilingan

PangalanUriKailanganAno ito
textstringOo

Tugon

PangalanUriKailanganAno ito
idstringOo
channelstringOo
connection_idstringOo
connection_labelstringOo
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>Oo⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstringOo
remote_urlstringOoThe 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 strin…
droppedstring[][]Oo`[[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 n…
errorstringOoA machine code, never a sentence.
cost_microsintegerOoWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerOo
posted_atstringOo

Mga error na maibabalik ng endpoint na ito

401 · 403 · 404 · 422