agency-board

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

Set the labels on a card.

Усі кінцеві точки agency-board

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ця кінцева точка не вказує конкретного дозволу в специфікації, тому надайте своєму ключу мінімально необхідні права та перевірте відповідь, замість того щоб припускати.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

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[]> }'

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

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.

Параметри

НазваТипОбов'язковеЩо це таке
boardId (path)UuidТакProject board ID (UUIDv7).
cardId (path)UuidТакBoard card ID (UUIDv7).

Тіло запиту

НазваТипОбов'язковеЩо це таке
label_idsstring[]ТакThe 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_byAgencyBoardActorНі
updated_byAgencyBoardActorНіWho last edited this card. Moves exactly when `updated_at` does.
assigneeAgencyBoardActorНіThe resolved form of `assignee_id`.

Відповідь

НазваТипОбов'язковеЩо це таке
idUuidТакUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidТакUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidТакUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringТак
bodystringНі
visibilityAgencyBoardVisibilityТакWho 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…
positionintegerТак
assignee_idstringНі
due_atstringНі
created_by_clientbooleanНіWhether the client raised this card themselves.
archived_atstringНі
cover_colourAgencyBoardLabelColourНіA 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[]НіThe 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_atstringНі
updated_atstringНі

Помилки, які може повертати ця кінцева точка

401 · 403 · 404 · 422