agency-board

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

Set the labels on a card.

Semua titik akhir agency-board

Autentikasi

Kirimkan kunci API sebagai token bearer. Titik akhir ini tidak menyatakan izin tertentu dalam spesifikasi, jadi berikan kunci Anda izin minimum yang diperlukan dan periksa responsnya alih-alih berasumsi.

Endpoint ini tidak memerlukan id organisasi. Kunci Anda telah mengidentifikasi organisasi tempatnya berafiliasi, dan respons akan dibatasi untuk organisasi tersebut.

Coba

Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.

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

Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API

Detail

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.

Parameter

NamaJenisWajibTentang apa ini
boardId (path)UuidYaProject board ID (UUIDv7).
cardId (path)UuidYaBoard card ID (UUIDv7).

Isi permintaan

NamaJenisWajibTentang apa ini
label_idsstring[]YaThe 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_byAgencyBoardActorTidak
updated_byAgencyBoardActorTidakWho last edited this card. Moves exactly when `updated_at` does.
assigneeAgencyBoardActorTidakThe resolved form of `assignee_id`.

Tanggapan

NamaJenisWajibTentang apa ini
idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringYa
bodystringTidak
visibilityAgencyBoardVisibilityYaWho 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…
positionintegerYa
assignee_idstringTidak
due_atstringTidak
created_by_clientbooleanTidakWhether the client raised this card themselves.
archived_atstringTidak
cover_colourAgencyBoardLabelColourTidakA 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[]TidakThe 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_atstringTidak
updated_atstringTidak

Kesalahan yang dapat dikembalikan oleh titik akhir ini

401 · 403 · 404 · 422