syndication

PUT /v1/syndication/posts/{postId}

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

כל נקודות הקצה מסוג syndication

אימות

שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

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

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

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

פרמטרים

שםסוגנדרשמה זה
postId (path)stringכן

גוף הבקשה

שםסוגנדרשמה זה
textstringכן

תשובה

שםסוגנדרשמה זה
idstringכן
channelstringכן
connection_idstringכן
connection_labelstringכן
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>כן⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstringכן
remote_urlstringכןThe 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[][]כן`[[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…
errorstringכןA machine code, never a sentence.
cost_microsintegerכןWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerכן
posted_atstringכן

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404 · 422