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": "0607028C-d63e-8f34-551e-5bDA2D3efc9f",
"location": "Adapter",
"view": "nostrud amet sunt aliqua",
"status": "scheduled",
"app": "anim esse",
"name": "consequat",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/JB,KDtwRq5X/~1/m/biyO/Q"
},
{
"type": "encryption",
"pointer": "/~0/~0/~0/T1ph2gTAfyA/uTks/za219pGnwa/~1/Zh4JDvyaxiJ/~0"
}
]
},
"last_updated": "1992-01-27T04:39:26.12Z",
"encodingVersion": 1,
"job": {
"_id": "13eaf6d7f1b48ff74ea2fdb5",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"2b5e38cb821076ac52d038b1",
"3e8dda1dfccbb9332bf666d4",
"b2504ef78ca00c3a03f9e9a2",
"5575e1443f602f07de42bc7c"
]
},
"incomingRefs": [],
"groups": [
{
"_id": "a106b7a2dc38b2f5ad1c442e",
"provenance": "do",
"name": "consectetur in ut aliqua",
"description": "nisi adipisicing minim",
"memberOf": [
{
"groupId": "ecf7e512192106ff56b3856e",
"aaaManaged": false
},
{
"groupId": "b35affa5815662cc9adce737",
"aaaManaged": true
},
{
"groupId": "5f88f1ea0da0c8ee9378e575",
"aaaManaged": false
},
{
"groupId": "b55d6d4b291322774b577d2e",
"aaaManaged": true
},
{
"groupId": "49b04a6aba84b76e15428e8f",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "ea est eu proident id"
},
{
"roleId": "quis aute"
},
{
"roleId": "deserunt dolor ex incididunt"
},
{
"roleId": "laborum ullamco ex"
},
{
"roleId": "occaecat qui cupidatat"
}
],
"inactive": true,
"_meta": {
"created": "1972-07-11T12:05:51.386Z",
"updated": "1996-07-29T08:25:29.647Z",
"migrationVersion": -60462624
}
}
],
"type": "operation",
"metrics": {
"start_time": "est dolore minim",
"end_time": 74866543.15505672,
"server_id": "culpa amet tempor elit",
"finish_state": "running",
"run_time": 7096466.239156917,
"retrying": null,
"user": "",
"owner": ""
}
}
}