syndication

PUT /v1/syndication/plans/{planId}

Change a plan's channels or behaviour.

Bütün syndication nöqtələri

Doğrulama

API açarını bearer token kimi göndərin. Bu səhifə spresifikasiyada xüsusi icazə tələb etmir, buna görə də açarınıza ehtiyac duyduğu minimum səviyyədə icazə verin və güman etmək əvəzinə cavabı yoxlayın.

Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.

Sınaqdan keçir

Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.

curl -X PUT https://api.zinndigital.com/v1/syndication/plans/{planId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "scope": <string<post, recipe, org_default>> }'

Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın

Təfərrüatlar

Replaces the plan's channel set with `connection_ids`. ⛔ Each id is re-checked against the CALLER's scope, not merely the plan's org — a connection id is a UUID somebody could paste, and a plan naming another tenant's connection would post this article to that tenant's account. Gated on `syndication.manage`.

Parametrlər

AdTipTələb olunurNədir
planId (path)stringBəli

Sorğu gövdəsi

AdTipTələb olunurNədir
scopestring<post, recipe, org_default>Bəli
post_idstringXeyr
recipe_idstringXeyr
enabledbooleanXeyr
write_modestring<ai_per_channel, one_text>Xeyr
approval_modestring<hold, send>Xeyr
connection_idsstring[]Xeyr

Cavab

AdTipTələb olunurNədir
idstringBəli
scopestring<post, recipe, org_default>BəliMost specific wins — an article's own plan beats its recipe's beats the org default.
post_idstringBəli
recipe_idstringBəli
enabledbooleanBəli
write_modestring<ai_per_channel, one_text>Bəli⚖️ Owner ruling 2026-08-20 — the AI writes per channel by default, because an X post and a LinkedIn update are not the same piece of writing.
approval_modestring<hold, send>Bəli⚖️ Owner ruling 2026-08-20 — hold for approval by default.
channelsSyndicationPlanChannel[]Bəli
created_atstringBəli

Bu son nöqtənin qaytara biləcəyi xətalar

401 · 403 · 404