links

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

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

ყველა links ენდპოინტი

ყველა დეველოპერის დოკუმენტაცია

ავტორიზაცია

API გასაღები გაგზავნეთ როგორც bearer token. ეს ენდპოინტი სპეციფიკაციაში არ მიუთითებს კონკრეტულ ნებართვას, ამიტომ მიანიჭეთ თქვენს გასაღებს მინიმალური საჭირო უფლებები და ვარაუდის ნაცვლად შეამოწმეთ პასუხი.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

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

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი 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