Summary
Claim a task
Description
Assign a Task to the current user.
Route
POST /operations-manager/tasks/:taskId/claim
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| taskId |
string |
yes |
The id of the Task iteration to be claimed. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the claim operation. |
Copied to Clipboard
{
"message": "Successfully created the requested item",
"data": {
"_id": "168B66fC-26ed-35B9-221A-BC7AEceF8f18",
"location": "Application",
"view": "non et",
"status": "scheduled",
"app": "voluptate cupidatat",
"name": "enim",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/b1Po9brKW/~0/~1/~0/l/~0/C"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/AQkA/dG/KHoD5mjIO/~0/a8dtW7Y"
},
{
"type": "encryption",
"pointer": "/~1/~0/~0/Xk/HHu/bn/~0/~0"
}
]
},
"last_updated": "1951-12-25T06:54:17.174Z",
"encodingVersion": 1,
"job": {
"_id": "3f4b167b6ef41738906db022",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"2bbd8855e6cb57f599dd6de7",
"031f36448fac8d6e64936f0d",
"3529e7ed010d79d6374649f2",
"3a631612895148715b80ac68"
]
},
"groups": [
"0f00ea7badf7a9eedb97e3cd"
],
"type": "operation",
"metrics": {
"start_time": "laborum ad sunt magna",
"end_time": 93470274.15291503,
"server_id": "adipisicing pariatur qui sed veniam",
"finish_state": "error",
"run_time": 20986354.41991785,
"retrying": null,
"user": "",
"owner": "088254cb06514c828e17ba31"
}
}
}