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": "7BBFfa79-3720-93D2-FdDC-5BB9F4D4b784",
"location": "Adapter",
"view": null,
"status": "running",
"app": "ipsum dolore et",
"name": "sunt ea",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/J3Raw/~0/~0/~1/~0/HEkF/S18l4/E8YG/Df-DEaK4m/VlP/~1"
},
{
"type": "encryption",
"pointer": "/XkK-wCCkMd/J/I/~0/VnaF/~1/tD06VCquZT,/~0/~0/Zc/~0"
},
{
"type": "encryption",
"pointer": "/ifkMOM/xkay/cG/rjC6piK+Wz4/z/PMcUN3"
}
]
},
"last_updated": "1983-08-02T23:05:11.419Z",
"encodingVersion": 1,
"job": {
"_id": "58bf41cf670809bc63d6dafb",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"562efc6d0541f35de186387e",
{
"_id": "b984b8354974d9cd3f8c9fa2",
"provenance": "occaecat commodo irure nisi",
"name": "est non",
"description": "esse",
"memberOf": [
{
"groupId": "774d949441d9f99fcf646082",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "Excepteur enim ut nostrud reprehenderit"
},
{
"roleId": "Duis deserunt in"
},
{
"roleId": "ad ullamco dolor"
}
],
"inactive": true,
"_meta": {
"created": "2022-07-12T18:40:11.526Z",
"updated": "2013-04-09T05:12:10.403Z",
"migrationVersion": -40808835
}
},
{
"_id": "4568963c919e7024a92d8380",
"provenance": "labore consequat aute sed",
"name": "non velit dolore est",
"description": "Ut do",
"memberOf": [
{
"groupId": "cbc26e2777736bdd5788bd5b",
"aaaManaged": true
},
{
"groupId": "bc27cc9231ba34774532d7c9",
"aaaManaged": false
},
{
"groupId": "9487975030391b480db40f36",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "ut est dolor sit amet"
},
{
"roleId": "dolor Excepteur"
},
{
"roleId": "eiusmod"
},
{
"roleId": "ad"
},
{
"roleId": "eu anim commodo voluptate ea"
}
],
"inactive": false,
"_meta": {
"created": "1954-05-03T12:38:00.028Z",
"updated": "2006-01-12T07:39:07.752Z",
"migrationVersion": -88512735
}
}
],
"type": "operation",
"metrics": {
"start_time": "do ut enim",
"end_time": -31090264.99456276,
"server_id": "amet qui",
"finish_state": "running",
"run_time": 28190281.16296032,
"retrying": null,
"user": "78bd8ad930d4ac193f977d39",
"owner": ""
}
}
}