Cards

Add a card comment

Changed on

Adds a comment and records it in card history.

post/api/v2/projects/{projectId}/cards/{cardId}/comments

Request

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

Headers

Idempotency-Keystring

A value you choose to identify this request, so that retrying it does not repeat its effect. Reuse the same key when retrying and the original result is returned; use a fresh key when you mean to create something new. Keys are scoped to the API key that sent them (or to the user for browser sessions). Replayed responses include Idempotency-Replayed: true.

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

Comment created.

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