GET Task Comments

This REST request returns either a specific comment or all the comments in a task instance.

To return a specific comment, the HTTP request is formed as follows:

GET /rest/pub/opentask/taskID/comments/commentID

To return all comments, the HTTP request is formed as follows:

GET /rest/pub/opentask/taskID/comments

Input Parameters

taskID String The unique identifier that the Task Engine assigns to the task instance.

Output Parameters

taskComments TaskComment[] An array of TaskComment objects that represent the comments retrieved from the task instance. See TaskComment for the structure of this data.