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": "bff0EAcE-aBEc-cdaA-b877-3FE0F20CF36D",
"location": "Application",
"view": null,
"status": "error",
"app": "voluptate elit",
"name": "commodo",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/eWwt3/~0/K92/~0/~0/~0/~1/A4i/tpj74n3zB/ug2/~0"
}
]
},
"last_updated": "2018-12-07T00:14:35.032Z",
"encodingVersion": 1,
"job": {
"_id": "4b1325a9a24d16b076c3dbba",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"9ae2baec29d0ca6061fed782",
"23217d1836ce328d570e73e2"
]
},
"groups": [
"20127a50313bf91745eb17be",
{
"_id": "f6beaf43abbafc5fb577c178",
"provenance": "deserunt qui est",
"name": "officia veniam nisi culpa consequat",
"description": "anim dolor voluptate",
"memberOf": [
{
"groupId": "fdd00e1ffde5c38c42bcd69b",
"aaaManaged": false
},
{
"groupId": "6004f9de5e29edccd144dea0",
"aaaManaged": false
},
{
"groupId": "a4068ca969a8c78744e91b37",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "esse id aute ad eu"
},
{
"roleId": "magna ullamco id occaecat"
},
{
"roleId": "elit minim"
},
{
"roleId": "deserunt in veniam"
}
],
"inactive": true,
"_meta": {
"created": "1989-08-09T13:21:11.722Z",
"updated": "1968-06-10T01:01:45.081Z",
"migrationVersion": 24294600
}
},
"8f9f27f0b66ef121edca7b0b"
],
"type": "operation",
"metrics": {
"start_time": "Ut ut laboris dolore",
"end_time": -697104.5811200738,
"server_id": "voluptate proident Duis",
"finish_state": "success",
"run_time": -97904112.09246637,
"retrying": true,
"user": "80733ec17f77ca84838bf9d5",
"owner": ""
}
}
}