agency-board

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

Set the labels on a card.

すべての agency-board エンドポイント

認証

ベアラー トークンとして API キーを送信します。このエンドポイントでは仕様に特定の権限が記載されていないため、キーに必要な最小限の権限を付与し、推測するのではなくレスポンスを確認してください。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

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

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く

詳細

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.

パラメータ

名前タイプ必須これがその内容です
boardId (path)UuidはいProject board ID (UUIDv7).
cardId (path)UuidはいBoard card ID (UUIDv7).

リクエスト本文

名前タイプ必須これがその内容です
label_idsstring[]はいThe 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_byAgencyBoardActorいいえ
updated_byAgencyBoardActorいいえWho last edited this card. Moves exactly when `updated_at` does.
assigneeAgencyBoardActorいいえThe resolved form of `assignee_id`.

返信

名前タイプ必須これがその内容です
idUuidはいUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidはいUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidはいUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringはい
bodystringいいえ
visibilityAgencyBoardVisibilityはいWho 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…
positionintegerはい
assignee_idstringいいえ
due_atstringいいえ
created_by_clientbooleanいいえWhether the client raised this card themselves.
archived_atstringいいえ
cover_colourAgencyBoardLabelColourいいえA 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[]いいえThe 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_atstringいいえ
updated_atstringいいえ

このエンドポイントが返すエラー

401 · 403 · 404 · 422