links

GET /v1/content/link-sets/{linkSetId}

One link set, with its resolved distribution.

Všechny koncové body links

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/content/link-sets/{linkSetId} \
  -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

Gated on `links.view`. Carries the same `distribution` the list does — the resolved share of every (URL, wording) pair, computed by the function a recipe run actually uses, so the preview and the placements cannot disagree.

Parametry

NázevTypPožadovánoCo to je
linkSetId (path)stringAno

Odpověď

NázevTypPožadovánoCo to je
idstringAno
namestringAno
notesstringAno
is_archivedbooleanAnoAn archived set is hidden from the picker and takes no new recipes; the recipes already using it keep working. Archiving is offered where deleting is refused.
entriesLinkSetEntry[]Ano
created_atstringAno
updated_atstringAno
recipe_countintegerAnoHow many recipes point at this set — so a delete button can say so first.
distributionobject[]AnoThe resolved share of every (URL, wording) pair, summing to 100 — what will actually happen. Computed by the same function a run uses.
distribution_errorstringAnoWhy there is no distribution, or empty. Separate from `distribution` because an empty list also means "this set has no links", and one value for two facts is not an answer.

Chyby, které může tento koncový bod vrátit

401 · 403 · 404