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": [
"844f153bd16960219499f65f",
"71037d73d98170ba7f33b5cd",
"8383fe598f167ad8b0070556",
"bea231e83b9bdcd5cc9ede94"
]
}
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 created the requested item",
"data": {
"description": "Any successfully retrieved information related to the request."
}
}