Summary
Gets a page of task documents, bypassing GBAC.
Description
Gets a page of task documents, bypassing GBAC.
Route
GET /operations-manager/tasks
Roles
admin
engineering
apiread
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
queryParameters |
object |
yes |
Parameters for filtering, paginating, projecting, and sorting task execution documents. |
Copied to Clipboard
{
"queryParameters": {
"limit": 1,
"skip": 10,
"order": 1,
"sort": "name",
"include": "description",
"exclude": "_id",
"in": "occaecat Ut anim",
"not-in": "in deserunt",
"equals": "dolore amet labore proident Duis",
"contains": "incididunt",
"starts-with": "sunt Ut sint",
"ends-with": "aute",
"dereference": "sunt culpa aliquip",
"gt": "magna sit in",
"gte": "anim",
"lt": "minim laborum pariatur dolore",
"lte": "nisi ea sunt ullamco laborum",
"q": "irure consectetur nisi sit magna"
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Results for the given search parameters. |
Copied to Clipboard
{
"result": true
}
Copied to Clipboard
{
"title": "result",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "task-api"
}
},
"total": {
"type": "integer",
"description": "Total number of documents matching the given query parameters."
},
"currentPageSize": {
"type": "integer",
"description": "Total number of documents returned in the items array."
},
"hints": {
"type": "array",
"description": "List of messages containing helpful context-sensitive information",
"items": {
"type": "string"
}
},
"skip": {
"type": "integer",
"description": "Current skip value."
},
"limit": {
"type": "integer",
"description": "Current limit value."
},
"nextPageSkip": {
"type": "integer",
"description": "Value to use for skip to get next page of results."
},
"previousPageSkip": {
"type": "integer",
"description": "Value to use for skip to get previous page of results."
}
}
}