agency-board

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

Edit a card.

Усі кінцеві точки agency-board

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ця кінцева точка не вказує конкретного дозволу в специфікації, тому надайте своєму ключу мінімально необхідні права та перевірте відповідь, замість того щоб припускати.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

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

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

⭐ 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.

Параметри

НазваТипОбов'язковеЩо це таке
boardId (path)UuidТакProject board ID (UUIDv7).
cardId (path)UuidТакBoard card ID (UUIDv7).

Тіло запиту

НазваТипОбов'язковеЩо це таке
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…
assignee_idstringНі
due_atstringНі
cover_colourstring<neutral, info, violet, ok, warn, crit, >НіA 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".

Відповідь

НазваТипОбов'язковеЩо це таке
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