syndication
PUT /v1/syndication/posts/{postId}
Change a held post's copy before it goes out.
Autentizace
Odešlete klíč API jako bearer token. Tento koncový bod ve specifikaci uvádí specifické oprávnění, takže svému klíči udělte to nejmenší možné a místo předpokladů zkontrolujte odpověď.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X PUT https://api.zinndigital.com/v1/syndication/posts/{postId} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "text": <string> }'Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
⛔ 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`.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
postId (path) | string | Ano | — |
Tělo požadavku
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
text | string | Ano | — |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
id | string | Ano | — |
channel | string | Ano | — |
connection_id | string | Ano | — |
connection_label | string | Ano | — |
status | string<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped> | Ano | ⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong. |
text | string | Ano | — |
remote_url | string | Ano | 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 strin… |
dropped | string[][] | Ano | `[[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… |
error | string | Ano | A machine code, never a sentence. |
cost_micros | integer | Ano | What this post cost us, in USD micros. One line per channel per post. |
character_limit | integer | Ano | — |
posted_at | string | Ano | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404 · 422