syndication

PUT /v1/syndication/posts/{postId}

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

Tous les points de terminaison syndication

Authentification

Envoyez une clé d'API en tant que jeton du porteur (bearer token). Cet endpoint n'indique pas de permission spécifique dans la spécification, attribuez donc à votre clé le minimum requis et vérifiez la réponse plutôt que de faire des suppositions.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

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

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

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

Paramètres

NomTypeObligatoireQu'est-ce que c'est
postId (path)stringOui

Corps de la requête

NomTypeObligatoireQu'est-ce que c'est
textstringOui

Réponse

NomTypeObligatoireQu'est-ce que c'est
idstringOui
channelstringOui
connection_idstringOui
connection_labelstringOui
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>Oui⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstringOui
remote_urlstringOuiThe 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[][]Oui`[[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…
errorstringOuiA machine code, never a sentence.
cost_microsintegerOuiWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerOui
posted_atstringOui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404 · 422