agency-board

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

Edit a card.

Բոլոր agency-board վերջնակետերը

Նույնականացում

Ուղարկեք API բանալին որպես bearer թոքեն։ Այս վերջնակետը բնութագրում չի նշում որոշակի թույլտվության մասին, ուստի տվեք ձեր բանալուն նվազագույն անհրաժեշտը և ենթադրություններ անելու փոխարեն ստուգեք պատասխանը:

Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:

Փորձել

Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:

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 վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ 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