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": "Baf6feA8-a0aE-8d62-aF3c-90dA5caB7Dad",
"location": "Broker",
"view": "laboris labore voluptate do est",
"status": "incomplete",
"app": "sed laboris",
"name": "dolore ea",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/Z2m/H3pEHeB/~1"
},
{
"type": "encryption",
"pointer": "/~1/Q1JQ"
},
{
"type": "encryption",
"pointer": "/~1/~1/V.RjH/~1/~1"
},
{
"type": "encryption",
"pointer": "/~1/y2C.E,s,qV/~0/vR./i/~0/k"
}
]
},
"last_updated": "1952-07-08T07:01:44.496Z",
"encodingVersion": 1,
"job": {
"_id": "6a214e1a2e6d523c524a032b",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
{
"_id": "88fc4e3b5ce894c5a30747b5",
"provenance": "enim in eu ex qui",
"name": "dolor",
"description": "Lorem dolor minim cupidatat exercitation",
"memberOf": [
{
"groupId": "a809c9c1ee7537ad9ce63f9a",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "dolor consequat amet ad dolore"
},
{
"roleId": "elit dolore ad exercitation Duis"
},
{
"roleId": "anim incididunt culpa"
}
],
"inactive": false,
"_meta": {
"created": "1968-03-01T16:26:55.659Z",
"updated": "1964-06-12T03:17:23.205Z",
"migrationVersion": -94028377
}
},
"7f106f4b0ff1fd9e53f8d288"
],
"type": "operation",
"metrics": {
"start_time": "Lorem",
"end_time": -24865750.460685775,
"server_id": "dolore ex officia",
"finish_state": "incomplete",
"run_time": -85096296.85637954,
"retrying": false,
"user": {
"_id": "0bf23fbe6d8c3a581198d355",
"provenance": "aliqua Lorem",
"username": "veniam occaecat incididunt cupidatat in",
"firstname": "ad occaecat exercitation culpa dolore",
"memberOf": [
{
"groupId": "ec09ec6e773d75a47bdbdba8",
"aaaManaged": true
},
{
"groupId": "8c1d637b5fff4ba4d3bd548e",
"aaaManaged": true
},
{
"groupId": "edd6f450baaf281e9acc5b33",
"aaaManaged": false
},
{
"groupId": "8d5e4985f2ff49006ac2531b",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "adipisicing sunt sed pariatur dolore"
},
{
"roleId": "exercitation in aute laboris elit"
},
{
"roleId": "ullamco ex"
},
{
"roleId": "aliquip amet eiusmod ex"
}
],
"inactive": true,
"lastLogin": "1959-09-15T15:56:00.847Z",
"_meta": {
"created": "1997-03-21T15:43:15.307Z",
"updated": "1963-07-15T21:27:10.982Z",
"migrationVersion": 68142393
},
"email": "consectetur"
},
"owner": "af3f2e2dc0914109afe4c667"
}
}
}