Skip to main content
GET
/
task
/
{id}
/
comment
/
{commentId}
Get
curl --request GET \
  --url http://{host}:{port}/{contextPath}/task/{id}/comment/{commentId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "aTaskCommentId",
  "userId": "userId",
  "taskId": "aTaskId",
  "processInstanceId": "96dc383f-23eb-11e6-8e4a-f6aefe19b687",
  "time": "2013-01-02T21:37:03.664+0200",
  "message": "comment content",
  "removalTime": "2018-02-10T14:33:19.000+0200",
  "rootProcessInstanceId": "aRootProcessInstanceId"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the task.

commentId
string
required

The id of the comment to be retrieved.

Response

Request successful.

id
string | null

The id of the task comment.

userId
string | null

The id of the user who created the comment.

taskId
string | null

The id of the task to which the comment belongs.

processInstanceId
string | null

The id of the process instance the comment is related to.

time
string<date-time> | null

The time when the comment was created. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ.

message
string | null

The content of the comment.

removalTime
string<date-time> | null

The time after which the comment should be removed by the History Cleanup job. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ.

rootProcessInstanceId
string | null

The process instance id of the root process instance that initiated the process containing the task.

The links associated to this resource, with method, href and rel.