Get comments on a task

GET {{baseUrl}}/tasks/:taskId/comments?includeUserIds=false

Get comments on a task.

Request Params

KeyDatatypeRequiredDescription
includeUserIdsbooleanIndication to include OTDS Id instead of email for users in the response.

RESPONSES

status: OK

{"content":[[{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":true},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"2016-03-05T21:24:36.350Z"},{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":true},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"1975-03-23T03:14:51.423Z"}],[{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":true},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"1992-06-07T21:33:54.184Z"},{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":false},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"2003-07-24T14:37:23.249Z"}]],"links":{"empty":false}}