links
POST /v1/content/external-sites/{siteId}/verify
Re-check the credential on one connected external site, now.
Autenticação
Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.
Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.
Experimente
Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.
curl -X POST https://api.zinndigital.com/v1/content/external-sites/{siteId}/verify \
-H "Authorization: Bearer zdk_live_…"Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API
Detalhes
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.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
siteId (path) | string | Sim | — |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
site_id | string | Sim | — |
primary_domain | string | Sim | — |
name | string | Sim | — |
is_external | boolean | Sim | Always true here. The same site appears in `/v1/sites` badged External. |
base_url | string | Sim | The address we publish to, including any path (e.g. `https://example.com/blog`). |
reachable | boolean | Não | 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 | Não | — |
detail | string | Não | What the site said last time, verbatim. Shown on the site's own screen. |
detected_identity | string | Não | — |
Erros que este endpoint pode retornar
401 · 403 · 404