syndication

PUT /v1/syndication/posts/{postId}

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

Të gjitha pikat e skajshme syndication

Autentifikimi

Drgoni një çelës API si një token mbajtës. Ky pikëndalim nuk specifikon një leje specifike në specifikim, prandaj jepini çelësit tuaj minimumin e nevojshëm dhe kontrolloni përgjigjen në vend që të supozoni.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

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

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

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

Parametrat

EmriLlojiKërkohetÇfarë është kjo
postId (path)stringPo

Trupi i kërkesës

EmriLlojiKërkohetÇfarë është kjo
textstringPo

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
idstringPo
channelstringPo
connection_idstringPo
connection_labelstringPo
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>Po⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstringPo
remote_urlstringPoThe 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[][]Po`[[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…
errorstringPoA machine code, never a sentence.
cost_microsintegerPoWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerPo
posted_atstringPo

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404 · 422