Cards

Updates project-global card fields and appends field-history events. Changing isOpen never changes any team workflow placement.

patch/api/v2/projects/{projectId}/cards/{cardId}

Request

  • Base URL
    https://davinci-app.com
  • Auth
    HTTP bearer

Headers

If-Matchstring

Quoted or unquoted latest card historyHeadId. When the request body also contains expectedHistoryHeadId, both values must match. A stale head returns 409 CARD_HISTORY_CONFLICT without applying the mutation.

Request body

namestring

Sanitized by the server to a resource name of at most 255 characters.

descriptionstring nullable
resolutionstring nullable
isOpenboolean
deadlinestring date-time nullable
effortinteger nullable
expectedHistoryHeadIdstring uuid nullable

Latest committed card-history row ID; null only before a card has history.

Response

Updated card.

historyHeadIdstring uuid nullable required

Latest committed card-history row ID; null only before a card has history.

historyHeadSequencestring nullable required

Globally monotonic card-history sequence.

Changes