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": "2e41f03D-D88a-f64F-7e1D-5BE2Febc9DaF",
"location": "Application",
"view": null,
"status": "incomplete",
"app": "eiusmod",
"name": "sint",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/ke0hq./~1/~1/obpmUKvkikZ/xBDTF0.H"
},
{
"type": "encryption",
"pointer": "/wfa1f/wE/Re"
}
]
},
"last_updated": "1974-02-25T20:44:45.426Z",
"encodingVersion": 1,
"job": {
"_id": "449fa89f75f41c03679ca505",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
{
"_id": "b351c5c52af26ae11b1f042c",
"provenance": "non nulla reprehenderit laboris",
"name": "mollit reprehenderit laborum minim",
"description": "Duis pariatur occaecat",
"memberOf": [
{
"groupId": "1eecaf2322325addbae8f506",
"aaaManaged": true
},
{
"groupId": "adc34c4c7835b64e7d76192f",
"aaaManaged": true
},
{
"groupId": "19f1f70a10d20bbf8e51ec05",
"aaaManaged": false
},
{
"groupId": "821cc78eebaea0a9e817a4e0",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "eiusmod minim"
},
{
"roleId": "ipsum ea labore sit"
},
{
"roleId": "consequat deserunt"
},
{
"roleId": "anim"
},
{
"roleId": "cillum voluptate eu ut"
}
],
"inactive": false,
"_meta": {
"created": "1987-02-16T12:07:11.054Z",
"updated": "1950-01-30T17:26:15.978Z",
"migrationVersion": 96937335
}
},
"e7bdc05004399cf8eec83347"
],
"type": "automatic",
"metrics": {
"start_time": "dolore ex ut",
"end_time": -10574727.037574187,
"server_id": "in nostrud consequat",
"finish_state": "success",
"run_time": -88234467.66631213,
"retrying": null,
"user": {
"_id": "8ee368cab0ad11f047d2e92f",
"provenance": "commodo",
"username": "in Excepteur officia",
"firstname": "exercitation",
"memberOf": [
{
"groupId": "fdd427a797719e2b837e80b9",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "magna"
},
{
"roleId": "consectetur officia veniam ea"
},
{
"roleId": "cupidatat amet magna dolore in"
},
{
"roleId": "et irure occaecat velit"
}
],
"inactive": true,
"lastLogin": "2007-12-07T22:59:58.967Z",
"_meta": {
"created": "1953-08-12T02:37:39.266Z",
"updated": "1978-02-02T11:14:40.8Z",
"migrationVersion": -40932905
},
"email": "et"
},
"owner": "ccd4516626ceb5e6a3737164"
}
}
}