Summary
Watch Jobs
Description
Adds the current user to the list of watchers on multiple Jobs.
Route
POST /operations-manager/jobs/watch
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| jobIds |
array |
yes |
- |
Copied to Clipboard
{
"jobIds": [
"eace9174d27d4cedc23aaf31",
"a313b46c42f4d6bbbf079beb",
"4860b9f0ef2e2f01cdb515a4",
"2589a3f6f89328536c70f387",
"4955fd99f0c9276cd31915e9"
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"jobIds": {
"title": "jobIds",
"type": "array",
"items": {
"description": "The id of a Job watch.",
"$ref": "common#/definitions/ObjectIdLikeString"
}
}
},
"required": [
"jobIds"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the watch operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"description": "Any successfully retrieved information related to the request."
}
}