links

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

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

Todos os endpoints de links

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

NomeTipoObrigatórioO que é
siteId (path)stringSim

Resposta

NomeTipoObrigatórioO que é
site_idstringSim
primary_domainstringSim
namestringSim
is_externalbooleanSimAlways true here. The same site appears in `/v1/sites` badged External.
base_urlstringSimThe address we publish to, including any path (e.g. `https://example.com/blog`).
reachablebooleanNãoWhat 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_atstringNão
detailstringNãoWhat the site said last time, verbatim. Shown on the site's own screen.
detected_identitystringNão

Erros que este endpoint pode retornar

401 · 403 · 404