syndication

PUT /v1/syndication/posts/{postId}

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

Toate punctele finale syndication

Autentificare

Trimiteți o cheie API ca token de tip bearer. Acest punct final nu specifică o permisiune anume în specificație, așa că acordați cheii cele mai puține drepturi necesare și verificați răspunsul în loc să faceți presupuneri.

Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.

Încearcă

Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul 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> }'

Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API

Detalii

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

Parametri

NumeTipObligatoriuCe este
postId (path)stringDa

Corp cerere

NumeTipObligatoriuCe este
textstringDa

Răspuns

NumeTipObligatoriuCe este
idstringDa
channelstringDa
connection_idstringDa
connection_labelstringDa
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>Da⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstringDa
remote_urlstringDaThe 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[][]Da`[[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…
errorstringDaA machine code, never a sentence.
cost_microsintegerDaWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerDa
posted_atstringDa

Erori pe care le poate returna acest punct final

401 · 403 · 404 · 422