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": "eAad32CF-4DC4-4c9d-3caa-E885aCF624eD",
"location": "Adapter",
"view": "culpa sunt",
"status": "incomplete",
"app": "laborum sit ipsum laboris",
"name": "enim ipsum cillum",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/~0/~0/HGDy./u3F5u3cu/~1/~1/~1/~1/yv"
},
{
"type": "encryption",
"pointer": "/mKF,fAnlPxn/E5EtThYK/mvjY0AH"
}
]
},
"last_updated": "1983-01-01T21:02:58.326Z",
"encodingVersion": 1,
"job": {
"_id": "cf2bb2a59670f1f1e800c211",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"80825eb05e5157eac0098313",
{
"_id": "c7dce9182aada522a45d5c86",
"provenance": "cillum",
"name": "sint laboris Excepteur adipisicing minim",
"description": "est cupidatat proident",
"memberOf": [
{
"groupId": "e48b7da5fbafd6f836de460e",
"aaaManaged": false
},
{
"groupId": "703b95da7099a375f8a30ef5",
"aaaManaged": false
},
{
"groupId": "0fe3e11f2d44cb74b39f14b2",
"aaaManaged": false
},
{
"groupId": "663b873ec7c0386bd4bbfc56",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "amet et do ipsum"
},
{
"roleId": "nulla enim cupidatat dolore"
},
{
"roleId": "adipisicing sed dolore consequat"
},
{
"roleId": "sunt dolor Duis nulla consequat"
},
{
"roleId": "minim id consectetur"
}
],
"inactive": true,
"_meta": {
"created": "1984-05-26T15:09:05.482Z",
"updated": "1993-09-10T01:16:38.353Z",
"migrationVersion": -25766075
}
},
{
"_id": "dd5376ff0341b0f95eb22a20",
"provenance": "ut",
"name": "ea in qui",
"description": "nostrud cillum Duis",
"memberOf": [
{
"groupId": "f301e120f8d7da4d61933c34",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "tempor Lorem adipisicing sed dolor"
},
{
"roleId": "veniam"
}
],
"inactive": false,
"_meta": {
"created": "1958-01-22T16:21:30.002Z",
"updated": "1985-04-14T13:38:39.343Z",
"migrationVersion": -49302209
}
}
],
"type": "operation",
"metrics": {
"start_time": "Duis in",
"end_time": 58741035.901649535,
"server_id": "anim qui amet",
"finish_state": "success",
"run_time": -7321346.744484454,
"retrying": null,
"user": "aaa419d499a5fc616f5ef511",
"owner": "Pronghorn"
}
}
}