syndication

PUT /v1/syndication/posts/{postId}

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

Všechny koncové body syndication

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ázevTypPožadovánoCo to je
postId (path)stringAno

Tělo požadavku

NázevTypPožadovánoCo to je
textstringAno

Odpověď

NázevTypPožadovánoCo to je
idstringAno
channelstringAno
connection_idstringAno
connection_labelstringAno
statusstring<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.
textstringAno
remote_urlstringAnoThe 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[][]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…
errorstringAnoA machine code, never a sentence.
cost_microsintegerAnoWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerAno
posted_atstringAno

Chyby, které může tento koncový bod vrátit

401 · 403 · 404 · 422