Strategic Tickets

Edit a ticket comment

Rewrite an entry this API wrote. An entry a person wrote in the app is theirs to edit there, and rewriting it here answers 403 forbidden. The text is the only part of an entry anyone may change. Requires a read_write key.

patch/v1/projects/{projectId}/tickets/{ticketId}/comments/{commentId}

Request

  • Base URL: https://api.competlab.com
  • URL: https://api.competlab.com/v1/projects/{projectId}/tickets/{ticketId}/comments/{commentId}
  • Auth: API key in header CL-API-Key

Path parameters

ticketIdstring required
Example:507f1f77bcf86cd799439011

Ticket ID

commentIdstring required
Example:507f1f77bcf86cd799439021

Comment ID

projectIdstring required
Example:507f1f77bcf86cd799439011

Project ID

Request body

bodystring required

The entry's text, in Markdown. At most 20000 characters. It is stored exactly as it is sent — leading whitespace is a code block in the dialect that draws it, so nothing is trimmed off the ends.

Example request

{
  "body": "Reached the editor on 14 Sep; they update the guide quarterly."
}

Response

Example response

{
  "item": {
    "id": "507f1f77bcf86cd799439021",
    "ticketId": "507f1f77bcf86cd799439011",
    "author": {
      "userId": "507f1f77bcf86cd799439011",
      "fullName": "Dana Ellis"
    },
    "body": "Reached the editor on 14 Sep; they update the guide quarterly.",
    "createdAt": "2026-09-15T10:05:00.000Z",
    "updatedAt": "2026-09-15T10:05:00.000Z",
    "briefing": {
      "runId": "6a3950c06bda450a1372048e",
      "editionNumber": 5,
      "completedAt": "2026-10-05T06:12:00.000Z"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.