links

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

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

Tutti gli endpoint links

Autenticazione

Invia una chiave API come bearer token. Questo endpoint non specifica un permesso specifico nella specifica, quindi assegna alla tua chiave i permessi minimi necessari e verifica la risposta invece di fare supposizioni.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

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

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

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.

Parametri

NomeTipoObbligatorioChe cos'è
siteId (path)string

Risposta

NomeTipoObbligatorioChe cos'è
site_idstring
primary_domainstring
namestring
is_externalbooleanAlways true here. The same site appears in `/v1/sites` badged External.
base_urlstringThe address we publish to, including any path (e.g. `https://example.com/blog`).
reachablebooleanNoWhat 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_atstringNo
detailstringNoWhat the site said last time, verbatim. Shown on the site's own screen.
detected_identitystringNo

Errori che questo endpoint può restituire

401 · 403 · 404