agency-board

PUT /v1/agency/boards/{boardId}/cards/{cardId}/labels

Set the labels on a card.

Všechny koncové body agency-board

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 PUT https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId}/labels \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "label_ids": <string[]> }'

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

Replaces the card's whole label set. Every id is re-checked against **this board**, so a label from another board is refused rather than quietly attached.

Parametry

NázevTypPožadovánoCo to je
boardId (path)UuidAnoProject board ID (UUIDv7).
cardId (path)UuidAnoBoard card ID (UUIDv7).

Tělo požadavku

NázevTypPožadovánoCo to je
label_idsstring[]AnoThe COMPLETE set the card should wear afterwards — this replaces, it does not add. An empty array takes every label off, which is why the array may be empty: an add/remove pair…
created_byAgencyBoardActorNe
updated_byAgencyBoardActorNeWho last edited this card. Moves exactly when `updated_at` does.
assigneeAgencyBoardActorNeThe resolved form of `assignee_id`.

Odpověď

NázevTypPožadovánoCo to je
idUuidAnoUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidAnoUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidAnoUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringAno
bodystringNe
visibilityAgencyBoardVisibilityAnoWho may see this object. `internal` is always the default. A **card** reaches the client only when it is `client` **and its column is too** — an AND, not inheritance, because th…
positionintegerAno
assignee_idstringNe
due_atstringNe
created_by_clientbooleanNeWhether the client raised this card themselves.
archived_atstringNe
cover_colourAgencyBoardLabelColourNeA colour band across the top of the card, or the empty string for none. ⛔ Shares the label palette rather than declaring a second one: two palettes on one screen is how a cover…
labelsAgencyBoardLabel[]NeThe labels this card wears, in the board's label order. ⛔ Agency-only — the client's projection of a card carries no labels at all, because a label is the agency's private vocab…
created_atstringNe
updated_atstringNe

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

401 · 403 · 404 · 422