links

POST /v1/content/external-sites/{siteId}/verify

Re-check the credential on one connected external site, now.

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 POST https://api.zinndigital.com/v1/content/external-sites/{siteId}/verify \
  -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

Gated on `links.edit`. The same check runs daily on its own; this is the button for a customer who has just fixed something and does not want to wait.

Parametrlər

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

Cavab

AdTipTələb olunurNədir
site_idstringBəli
primary_domainstringBəli
namestringBəli
is_externalbooleanBəliAlways true here. The same site appears in `/v1/sites` badged External.
base_urlstringBəliThe address we publish to, including any path (e.g. `https://example.com/blog`).
reachablebooleanXeyrWhat the last check found. **`null` means we have not checked**, which is not the same as "it does not work" — an unchecked site is never rendered as broken.
checked_atstringXeyr
detailstringXeyrWhat the site said last time, verbatim. Shown on the site's own screen.
detected_identitystringXeyr

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

401 · 403 · 404