links

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

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

Wszystkie punkty końcowe links

Wszystkie dokumentacje dla programistów

Uwierzytelnianie

Wyślij klucz API jako token bearer. Ten punkt końcowy nie określa konkretnego uprawnienia w specyfikacji, więc nadaj swojemu kluczowi minimum potrzebnych uprawnień i sprawdź odpowiedź zamiast zakładać.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

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

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

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.

Parametry

NazwaTypWymaganeCo to jest
siteId (path)stringTak

Odpowiedź

NazwaTypWymaganeCo to jest
site_idstringTak
primary_domainstringTak
namestringTak
is_externalbooleanTakAlways true here. The same site appears in /v1/sites badged External.
base_urlstringTakThe address we publish to, including any path (e.g. https://example.com/blog).
reachablebooleanNieWhat 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_atstringNie
detailstringNieWhat the site said last time, verbatim. Shown on the site's own screen.
detected_identitystringNie
backupobjectTakWhether 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…

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404