Summary
Gets a page of job documents.
Description
Gets a page of job documents.
Route
GET /operations-manager/jobs
Roles
admin
engineering
apiread
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
queryParameters |
object |
yes |
Parameters for filtering, paginating, projecting, and sorting job documents. |
Copied to Clipboard
{
"queryParameters": {
"limit": 25,
"skip": 50,
"order": 1,
"sort": "name",
"include": "name,description",
"exclude": "_id",
"in": "amet sunt nostrud",
"not-in": "labore ea non",
"equals": "Excepteur",
"contains": "qui mollit voluptate Excepteur esse",
"starts-with": "ut aliquip enim consectetur veniam",
"ends-with": "sit",
"dereference": "eiusmod ad Ut",
"gt": "id officia amet",
"gte": "do proident",
"lt": "adipisicing sunt",
"lte": "proident quis labore est velit",
"q": "exercitation laborum"
}
}
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": "job-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."
}
}
}