links
GET /v1/link-targets/{targetId}/placements
Every link to this target, in every post, with its occurrence count.
Authenticatie
Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.
Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.
Probeer het
Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.
curl -X GET https://api.zinndigital.com/v1/link-targets/{targetId}/placements \
-H "Authorization: Bearer zdk_live_…"Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console
Details
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.
Parameters
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
targetId (path) | Uuid | Ja | Link target ID (UUIDv7). |
site_id (query) | string | Nee | Only the links on this one site. |
limit (query) | integer | Nee | — |
offset (query) | integer | Nee | — |
Reactie
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
items | LinkPlacement[] | Ja | — |
total | integer | Ja | — |
offset | integer | Ja | — |
limit | integer | Ja | — |
has_more | boolean | Ja | — |
Fouten die dit eindpunt kan retourneren
401 · 403 · 404