agency-board

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

Edit a card.

Semua titik akhir agency-board

Pengesahan

Hantar kunci API sebagai token pembawa. Titik akhir ini tidak menyatakan kebenaran tertentu dalam spesifikasi, jadi berikan kunci anda kebenaran minimum yang diperlukan dan semak respons tersebut daripada membuat andaian.

Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.

Cuba

Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka anda.

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

Sudah log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API

Butiran

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

Parameter

NamaJenisDiperlukanApakah ia
boardId (path)UuidYaProject board ID (UUIDv7).
cardId (path)UuidYaBoard card ID (UUIDv7).

Badan permintaan

NamaJenisDiperlukanApakah ia
titlestringTidak
bodystringTidak
visibilityAgencyBoardVisibilityTidakWho 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_idstringTidak
due_atstringTidak
cover_colourstring<neutral, info, violet, ok, warn, crit, >TidakA 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".

Respons

NamaJenisDiperlukanApakah ia
idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringYa
bodystringTidak
visibilityAgencyBoardVisibilityYaWho 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…
positionintegerYa
assignee_idstringTidak
due_atstringTidak
created_by_clientbooleanTidakWhether the client raised this card themselves.
archived_atstringTidak
cover_colourAgencyBoardLabelColourTidakA 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[]TidakThe 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_atstringTidak
updated_atstringTidak

Ralat yang boleh dikembalikan oleh titik akhir ini

401 · 403 · 404 · 422