Cards

Edit a card comment

Changed on

Only the comment author may edit its text. API keys require cards:write; browser JWT authors may edit their own comment with card-read access.

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

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

bodystring required
expectedHistoryHeadIdstring uuid nullable

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

Response

Updated comment.

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