agency-board

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

Set the labels on a card.

Të gjitha pikat e skajshme agency-board

Autentifikimi

Drgoni një çelës API si një token mbajtës. Ky pikëndalim nuk specifikon një leje specifike në specifikim, prandaj jepini çelësit tuaj minimumin e nevojshëm dhe kontrolloni përgjigjen në vend që të supozoni.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

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

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

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.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
boardId (path)UuidPoProject board ID (UUIDv7).
cardId (path)UuidPoBoard card ID (UUIDv7).

Trupi i kërkesës

EmriLlojiKërkohetÇfarë është kjo
label_idsstring[]PoThe 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_byAgencyBoardActorJo
updated_byAgencyBoardActorJoWho last edited this card. Moves exactly when `updated_at` does.
assigneeAgencyBoardActorJoThe resolved form of `assignee_id`.

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
idUuidPoUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidPoUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidPoUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringPo
bodystringJo
visibilityAgencyBoardVisibilityPoWho 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…
positionintegerPo
assignee_idstringJo
due_atstringJo
created_by_clientbooleanJoWhether the client raised this card themselves.
archived_atstringJo
cover_colourAgencyBoardLabelColourJoA 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[]JoThe 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_atstringJo
updated_atstringJo

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404 · 422