links
GET /v1/link-targets/{targetId}/placements
Every link to this target, in every post, with its occurrence count.
Autenticación
Envía una clave de API como token de portador. Este endpoint no especifica un permiso concreto en la especificación, así que otorga a tu clave los mínimos privilegios necesarios y comprueba la respuesta en lugar de dar por sentado.
Este endpoint no requiere ningún id de organización. Su clave ya identifica la organización a la que pertenece, y la respuesta está delimitada a ella.
Pruébalo
Reemplaza cualquier elemento entre corchetes angulares por tus propios valores, y el marcador de posición key con una clave de tu panel de control.
curl -X GET https://api.zinndigital.com/v1/link-targets/{targetId}/placements \
-H "Authorization: Bearer zdk_live_…"¿Has iniciado sesión? La consola de la API en tu panel de control rellena el ID de tu organización real y tu propia clave, y ejecuta la solicitud contra la API en vivo para que puedas ver la respuesta real. Abre este endpoint en la consola de la API
Detalles
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
| Nombre | Tipo | Obligatorio | ¿Qué es esto? |
|---|---|---|---|
targetId (path) | Uuid | Sí | Link target ID (UUIDv7). |
site_id (query) | string | No | Only the links on this one site. |
limit (query) | integer | No | — |
offset (query) | integer | No | — |
Respuesta
| Nombre | Tipo | Obligatorio | ¿Qué es esto? |
|---|---|---|---|
items | LinkPlacement[] | Sí | — |
total | integer | Sí | — |
offset | integer | Sí | — |
limit | integer | Sí | — |
has_more | boolean | Sí | — |
Errores que este endpoint puede devolver
401 · 403 · 404