links

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

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

تمام links اینڈ پوائنٹس

تمام ڈویلپر دستاویزات

توثيقِ شناخت

ایک API کلید بطور بیر ٹوکن (bearer token) ارسال کریں۔ یہ اینڈ پوائنٹ اسپیسیفیکیشن میں کسی مخصوص اجازت کا ذکر نہیں کرتا، اس لیے فرض کرنے کے بجائے اپنی کلید کو کم از کم درکار اجازت دیں اور رسپانس چیک کریں۔

یہ اینڈ پوائنٹ کوئی آرگنائزیشن آئی ڈی نہیں لیتا۔ آپ کی کلید پہلے ہی اس آرگنائزیشن کی شناخت کرتی ہے جس سے یہ تعلق رکھتی ہے، اور اس کا جواب اسی کے مطابق محدود ہوتا ہے۔

آزمائیں

کوئی بھی چیز جو زاویہ دار قوسین میں ہو اسے اپنی اقدار سے بدلیں، اور کلیدی پلیس ہولڈر کو اپنے ڈیش بورڈ کی کسی کلید سے بدلیں۔

curl -X POST https://api.zinndigital.com/v1/content/external-sites/{siteId}/verify \
  -H "Authorization: Bearer zdk_live_…"

لاگ ان ہیں؟ آپ کے ڈیش بورڈ میں موجود API کنسول آپ کی حقیقی تنظیم کی آئی ڈی اور آپ کی اپنی کلید خود بخود پُر کر دیتا ہے، اور لائیو API پر درخواست چلاتا ہے تاکہ آپ اصل ردعمل دیکھ سکیں۔ اس اینڈ پوائنٹ کو API کنسول میں کھولیں

تفصیلات

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.

پیرامیٹرز

نامقسملازمییہ کیا ہے
siteId (path)stringہاں

جواب

نامقسملازمییہ کیا ہے
site_idstringہاں
primary_domainstringہاں
namestringہاں
is_externalbooleanہاںAlways true here. The same site appears in /v1/sites badged External.
base_urlstringہاںThe address we publish to, including any path (e.g. https://example.com/blog).
reachablebooleanنہیںWhat 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_atstringنہیں
detailstringنہیںWhat the site said last time, verbatim. Shown on the site's own screen.
detected_identitystringنہیں
backupobjectہاںWhether we can back this site up, and whether we can put it back. Served on the list so a screen showing a customer's whole external estate makes one request rather than one per…

وہ خرابیان جو یہ اینڈ پوائنٹ واپس کر سکتا ہے

401 · 403 · 404