agency-board

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

Set the labels on a card.

Barcha agency-board yakuniy nuqtalari

Autentifikatsiya

API kalitini bearer token sifatida yuboring. Ushbu yakuniy nuqta spetsifikatsiyada ma'lum bir ruxsatni ko'rsatmaydi, shuning uchun kalitingizga eng kam kerakli huquqni bering va taxmin qilish o'rniga javobni tekshiring.

Bu yakuniy nuqta hech qanday tashkilot identifikatorini qabul qilmaydi. Sizning kalitingiz unga tegishli tashkilotni allaqachon aniqlaydi va javob shunga qarab cheklanadi.

Sinab ko'rish

Qavslardagi har qanday narsani o'z qiymatlaringiz bilan, kalit pleysxolderini эsa boshqaruv panelingizdagi kalit bilan almashtiring.

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

Tizimga kirganmisiz? Boshqaruv panelingizdagi API konsoli haqiqiy tashkilot ID raqamingiz va shaxsiy kalitingizni avtomatik to'ldiradi hamda haqiqiy javobni ko'rishingiz uchun so'rovni jonli API orqali bajaradi. Ushbu yakuniy nuqtani API konsolida oching

Tafsilotlar

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.

Parametrlar

NomiTuriMajburiyNima bu
boardId (path)UuidHaProject board ID (UUIDv7).
cardId (path)UuidHaBoard card ID (UUIDv7).

Soʻrov tanasi

NomiTuriMajburiyNima bu
label_idsstring[]HaThe 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_byAgencyBoardActorYo'q
updated_byAgencyBoardActorYo'qWho last edited this card. Moves exactly when `updated_at` does.
assigneeAgencyBoardActorYo'qThe resolved form of `assignee_id`.

Javob

NomiTuriMajburiyNima bu
idUuidHaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidHaUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidHaUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringHa
bodystringYo'q
visibilityAgencyBoardVisibilityHaWho 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…
positionintegerHa
assignee_idstringYo'q
due_atstringYo'q
created_by_clientbooleanYo'qWhether the client raised this card themselves.
archived_atstringYo'q
cover_colourAgencyBoardLabelColourYo'qA 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[]Yo'qThe 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_atstringYo'q
updated_atstringYo'q

Ushbu yakuniy nuqta qaytarishi mumkin bo'lgan xatolar

401 · 403 · 404 · 422