agency-board

PATCH /v1/agency/boards/{boardId}/cards/{cardId}

Edit a card.

Wszystkie punkty końcowe agency-board

Uwierzytelnianie

Wyślij klucz API jako token bearer. Ten punkt końcowy nie określa konkretnego uprawnienia w specyfikacji, więc nadaj swojemu kluczowi minimum potrzebnych uprawnień i sprawdź odpowiedź zamiast zakładać.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

curl -X PATCH https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

⭐ Sending `assignee_id: null` **unassigns**; omitting the field leaves the assignee alone. The two are different requests and the API distinguishes them, because a `null`-means-absent API cannot express "unassign" at all.

Parametry

NazwaTypWymaganeCo to jest
boardId (path)UuidTakProject board ID (UUIDv7).
cardId (path)UuidTakBoard card ID (UUIDv7).

Treść żądania

NazwaTypWymaganeCo to jest
titlestringNie
bodystringNie
visibilityAgencyBoardVisibilityNieWho 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…
assignee_idstringNie
due_atstringNie
cover_colourstring<neutral, info, violet, ok, warn, crit, >NieA palette token, or the empty string to clear the cover. ⛔ The empty string is the CLEAR rather than `null`, so there is exactly one spelling of "no cover".

Odpowiedź

NazwaTypWymaganeCo to jest
idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringTak
bodystringNie
visibilityAgencyBoardVisibilityTakWho 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…
positionintegerTak
assignee_idstringNie
due_atstringNie
created_by_clientbooleanNieWhether the client raised this card themselves.
archived_atstringNie
cover_colourAgencyBoardLabelColourNieA 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[]NieThe 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_atstringNie
updated_atstringNie

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404 · 422