agency-board

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

Set the labels on a card.

Tüm agency-board uç noktaları

Kimlik Doğrulama

Bir API anahtarını bearer token olarak gönderin. Bu uç nokta, teknik özelliklerde belirli bir yetki belirtmemektedir; bu nedenle, varsaymak yerine anahtarınıza ihtiyaç duyduğu en az yetkiyi verin ve yanıtı kontrol edin.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

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

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

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.

Parametreler

AdTürZorunluNe olduğu
boardId (path)UuidEvetProject board ID (UUIDv7).
cardId (path)UuidEvetBoard card ID (UUIDv7).

İstek gövdesi

AdTürZorunluNe olduğu
label_idsstring[]EvetThe 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_byAgencyBoardActorHayır
updated_byAgencyBoardActorHayırWho last edited this card. Moves exactly when `updated_at` does.
assigneeAgencyBoardActorHayırThe resolved form of `assignee_id`.

Yanıt

AdTürZorunluNe olduğu
idUuidEvetUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidEvetUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidEvetUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringEvet
bodystringHayır
visibilityAgencyBoardVisibilityEvetWho 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…
positionintegerEvet
assignee_idstringHayır
due_atstringHayır
created_by_clientbooleanHayırWhether the client raised this card themselves.
archived_atstringHayır
cover_colourAgencyBoardLabelColourHayırA 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[]HayırThe 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_atstringHayır
updated_atstringHayır

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 404 · 422