links
GET /v1/link-targets/{targetId}/placements
Every link to this target, in every post, with its occurrence count.
Autenticazione
Invia una chiave API come bearer token. Questo endpoint non specifica un permesso specifico nella specifica, quindi assegna alla tua chiave i permessi minimi necessari e verifica la risposta invece di fare supposizioni.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X GET https://api.zinndigital.com/v1/link-targets/{targetId}/placements \
-H "Authorization: Bearer zdk_live_…"Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
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.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
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 | — |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
items | LinkPlacement[] | Sì | — |
total | integer | Sì | — |
offset | integer | Sì | — |
limit | integer | Sì | — |
has_more | boolean | Sì | — |
Errori che questo endpoint può restituire
401 · 403 · 404