links
GET /v1/link-targets/{targetId}/placements
Every link to this target, in every post, with its occurrence count.
Autentizace
Odešlete klíč API jako bearer token. Tento koncový bod ve specifikaci uvádí specifické oprávnění, takže svému klíči udělte to nejmenší možné a místo předpokladů zkontrolujte odpověď.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X GET https://api.zinndigital.com/v1/link-targets/{targetId}/placements \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
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.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
targetId (path) | Uuid | Ano | Link target ID (UUIDv7). |
site_id (query) | string | Ne | Only the links on this one site. |
limit (query) | integer | Ne | — |
offset (query) | integer | Ne | — |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
items | LinkPlacement[] | Ano | — |
total | integer | Ano | — |
offset | integer | Ano | — |
limit | integer | Ano | — |
has_more | boolean | Ano | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404