links
POST /v1/content/external-sites/{siteId}/verify
Re-check the credential on one connected external site, now.
Autentifikacija
Pošaljite API ključ kao bearer token. Ova krajnja tačka ne navodi specifičnu dozvolu u specifikaciji, zato dodelite svom ključu minimum potrebnih ovlašćenja i proverite odgovor umesto da pretpostavljate.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X POST https://api.zinndigital.com/v1/content/external-sites/{siteId}/verify \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
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
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
siteId (path) | string | Da | — |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
site_id | string | Da | — |
primary_domain | string | Da | — |
name | string | Da | — |
is_external | boolean | Da | Always true here. The same site appears in `/v1/sites` badged External. |
base_url | string | Da | The address we publish to, including any path (e.g. `https://example.com/blog`). |
reachable | boolean | Ne | 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_at | string | Ne | — |
detail | string | Ne | What the site said last time, verbatim. Shown on the site's own screen. |
detected_identity | string | Ne | — |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404