agency-board

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

Set the labels on a card.

Sve agency-board krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ova krajnja tačka ne navodi specifičnu dozvolu u specifikaciji, zato dodelite svom ključu minimum potrebnih ovlašćenja i proverite odgovor umesto da pretpostavljate.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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.

Parametri

NazivVrstaObaveznoŠta je ovo
boardId (path)UuidDaProject board ID (UUIDv7).
cardId (path)UuidDaBoard card ID (UUIDv7).

Telo zahteva

NazivVrstaObaveznoŠta je ovo
label_idsstring[]DaThe 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`.

Odgovor

NazivVrstaObaveznoŠta je ovo
idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringDa
bodystringNe
visibilityAgencyBoardVisibilityDaWho 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…
positionintegerDa
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

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404 · 422