latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Comments

Create a comment

Creates a comment on a task within a workflow run.

post/comments

Request body

workflowRunIdstring required

The ID of the Workflow Run

taskIdstring required

The ID of the Task

textstring required

Example request

{
  "workflowRunId": "ukRqtVX0pfqsbVTJP5pO-Q",
  "taskId": "ukRqtVX0pfqsbVTJP5pO-Q"
}

Response

Example response

{
  "data": {
    "id": "oqgYo-2WTcMPdFEa1Y9PzA",
    "createdBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "workflowRunId": "oqgYo-2WTcMPdFEa1Y9PzA",
    "taskId": "oqgYo-2WTcMPdFEa1Y9PzA",
    "links": [
      {
        "href": "https://api.process.st/api/v1.1/resource/XXX"
      }
    ]
  },
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}