agency-board

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

Set the labels on a card.

सभी agency-board एंडपॉइंट्स

प्रमाणन

एक बीयर टोकन के रूप में एक API कुंजी भेजें। यह एंडपॉइंट विनिर्देश में किसी विशिष्ट अनुमति का उल्लेख नहीं करता है, इसलिए अपनी कुंजी को न्यूनतम आवश्यकता दें और अनुमान लगाने के बजाय प्रतिक्रिया की जाँच करें।

यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।

इसे आज़माएँ

कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।

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 कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव 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