get /tasks/{taskId}/executions

Gets the executions associated with a specific task.

Returns the executions for the task specified by the taskId parameter.

Path parameters

taskId (required)
The ID of the task.

Query parameters

offset (optional)
The number of entries to skip. Default is 0.
limit (optional)
The maximum number of entries to return. Default is 50.
sort (optional)

A field to be used to sort the tasks executions. Currently, the only allowed field value is "created". It can be prefixed by "+" and "-" to indicate, respectively, ascending and descending order. Default is -created.

Usage example: /tasks/{taskId}/executions?sort=+created

Return type

TaskExecutionListResponse

Example data

Content-Type: application/json

{ "data" : { "totalItems" : 1, "offset" : 5, "limit" : 5, "items" : [ { "result" : "result", "task" : "00000000-0000-0000-0000-000000000000", "created" : "2000-01-23T04:56:07.000+00:00", "lastUpdate" : "2000-01-23T04:56:07.000+00:00", "progress" : 0.8008282, "id" : "00000000-0000-0000-0000-000000000000", "completed" : "{}", "type" : "publish", "priority" : 6.0274563, "status" : "WaitingForRetry" }, { "result" : "result", "task" : "00000000-0000-0000-0000-000000000000", "created" : "2000-01-23T04:56:07.000+00:00", "lastUpdate" : "2000-01-23T04:56:07.000+00:00", "progress" : 0.8008282, "id" : "00000000-0000-0000-0000-000000000000", "completed" : "{}", "type" : "publish", "priority" : 6.0274563, "status" : "WaitingForRetry" } ] } }

Responses

200
Success. The list of task executions for the specified task is returned.

400
One of the following errors has occurred:There is an invalid parameter in the query string.The specified ID is not a valid GUID.

404
The specified task ID was not found.