syndication

PUT /v1/syndication/posts/{postId}

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

Tüm syndication uç noktaları

Kimlik Doğrulama

Bir API anahtarını bearer token olarak gönderin. Bu uç nokta, teknik özelliklerde belirli bir yetki belirtmemektedir; bu nedenle, varsaymak yerine anahtarınıza ihtiyaç duyduğu en az yetkiyi verin ve yanıtı kontrol edin.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

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

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

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

Parametreler

AdTürZorunluNe olduğu
postId (path)stringEvet

İstek gövdesi

AdTürZorunluNe olduğu
textstringEvet

Yanıt

AdTürZorunluNe olduğu
idstringEvet
channelstringEvet
connection_idstringEvet
connection_labelstringEvet
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>Evet⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstringEvet
remote_urlstringEvetThe 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[][]Evet`[[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…
errorstringEvetA machine code, never a sentence.
cost_microsintegerEvetWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerEvet
posted_atstringEvet

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 404 · 422