links

GET /v1/content/posts/{postId}

One post.

Bütün links 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 GET https://api.zinndigital.com/v1/content/posts/{postId} \
  -H "Authorization: Bearer zdk_live_…"

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

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.

Parametrlər

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

Cavab

AdTipTələb olunurNədir
idstringBəli
titlestringBəli
body_htmlstringBəliThe 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.
notesstringBəliThe customer's own notes — V1's `Post.notes`. Never published.
statusstring<draft, ready>Bəli
placement_countintegerBəliSites this post is scheduled or live on.
published_countintegerBəli
created_atstringBəli
updated_atstringBəli

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

401 · 403 · 404