links
GET /v1/link-targets/{targetId}/placements
Every link to this target, in every post, with its occurrence count.
Autentificare
Trimiteți o cheie API ca token de tip bearer. Acest punct final nu specifică o permisiune anume în specificație, așa că acordați cheii cele mai puține drepturi necesare și verificați răspunsul în loc să faceți presupuneri.
Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.
Încearcă
Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.
curl -X GET https://api.zinndigital.com/v1/link-targets/{targetId}/placements \
-H "Authorization: Bearer zdk_live_…"Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API
Detalii
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
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
targetId (path) | Uuid | Da | Link target ID (UUIDv7). |
site_id (query) | string | Nu | Only the links on this one site. |
limit (query) | integer | Nu | — |
offset (query) | integer | Nu | — |
Răspuns
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
items | LinkPlacement[] | Da | — |
total | integer | Da | — |
offset | integer | Da | — |
limit | integer | Da | — |
has_more | boolean | Da | — |
Erori pe care le poate returna acest punct final
401 · 403 · 404