links

GET /v1/content/posts/{postId}

One post.

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

אימות

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

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

נסה זאת

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

curl -X GET https://api.zinndigital.com/v1/content/posts/{postId} \
  -H "Authorization: Bearer zdk_live_…"

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

פרטים

The post with its live placement counts. Gated on `links.view`. 404 rather than 403 for a post in another tenant — a 403 would confirm the row exists.

פרמטרים

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

תשובה

שםסוגנדרשמה זה
idstringכן
titlestringכן
body_htmlstringכןThe post body as HTML, exactly as the customer wrote it. The `<a>` tags in it are the anchors; the platform never rewrites them, on the way in or the way out.
notesstringכןThe customer's own notes — V1's `Post.notes`. Never published.
statusstring<draft, ready>כן
placement_countintegerכןSites this post is scheduled or live on.
published_countintegerכן
created_atstringכן
updated_atstringכן

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

401 · 403 · 404