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 retrieved search results",
"data": {
"_id": "d41E4BeA-8FA0-Dbf9-8D6d-fD29e21ccaBf",
"location": "Broker",
"view": "ex ullamco eu",
"status": "incomplete",
"app": "nostrud",
"name": "pariatur labore",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/Wb9-Wr,/DU6/~0"
}
]
},
"last_updated": "1958-01-05T00:23:03.591Z",
"encodingVersion": 1,
"job": {
"_id": "f4f99c8182c53f0d0bcdbfa4",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"840d2abafa61bd65fa33385f",
{
"_id": "ca4c40293d212ed675c1bacf",
"provenance": "qui elit minim id",
"name": "sint occaecat Lorem",
"description": "adipisicing anim",
"memberOf": [
{
"groupId": "211304dff340ebdacd58be88",
"aaaManaged": true
},
{
"groupId": "9ebc1b6675ebe2142aaf2032",
"aaaManaged": true
},
{
"groupId": "19469dd18ac57140d5fe8e36",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "amet fugiat"
}
],
"inactive": true,
"_meta": {
"created": "1985-02-18T22:01:24.487Z",
"updated": "1993-04-23T12:30:03.581Z",
"migrationVersion": -32367315
}
},
"39561848fb722997133f3a28",
"b7febc559d94e498c70f5fcd",
"415688dcf374184989d165fc"
],
"type": "manual",
"metrics": {
"start_time": "amet id officia adipisicing",
"claim_time": "2021-08-22T14:44:05.508Z",
"end_time": -45636987.10935915,
"server_id": "veniam minim in est pariatur",
"finish_state": "failure",
"run_time": 17260303.006528094,
"user": {
"_id": "2630d48cbae9ddf0511790bd",
"provenance": "velit enim et",
"username": "adipisicing dolore sunt pariatur",
"firstname": "cupidatat Duis",
"memberOf": [
{
"groupId": "8ce989679cc38c3a0e64f3aa",
"aaaManaged": false
},
{
"groupId": "d7ae5d4a9e021cb50b159fb2",
"aaaManaged": false
},
{
"groupId": "2ccfedc4531fa262c7b9d9f7",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "adipisicing Excepteur consectetur eu sed"
},
{
"roleId": "eiusmod laborum dolore aliqua dolor"
},
{
"roleId": "occaecat amet nulla"
},
{
"roleId": "dolore cupidatat veniam Duis"
}
],
"inactive": false,
"lastLogin": "2014-02-19T01:25:14.835Z",
"_meta": {
"created": "1998-04-26T21:46:37.654Z",
"updated": "2009-11-24T08:13:28.473Z",
"migrationVersion": -39892566
},
"email": "irure est ut fugiat"
},
"owner": "Pronghorn"
}
}
}