links
GET /v1/link-targets/{targetId}/placements
Every link to this target, in every post, with its occurrence count.
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 GET https://api.zinndigital.com/v1/link-targets/{targetId}/placements \
-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
The deepest drill-down, and the input the bulk editor will act on. ⭐ Each row carries the **whole `<a>` tag**, not just the href and the text. That is deliberate and it is what makes *"edit the links in full"* safe: an edit rewrites the href and the text **inside the existing tag**, so `rel`, `target` and the theme's classes survive instead of being flattened.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
targetId (path) | Uuid | Sim | Link target ID (UUIDv7). |
site_id (query) | string | Não | Only the links on this one site. |
limit (query) | integer | Não | — |
offset (query) | integer | Não | — |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
items | LinkPlacement[] | Sim | — |
total | integer | Sim | — |
offset | integer | Sim | — |
limit | integer | Sim | — |
has_more | boolean | Sim | — |
Erros que este endpoint pode retornar
401 · 403 · 404