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 imported 3 of 4 documents",
"data": {
"_id": "00ffB3c7-3Eb8-e9fb-606c-a855b8D9CfA3",
"location": "Broker",
"view": null,
"status": "complete",
"app": "officia eu ea",
"name": "Excepteur tempor in",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/alLxz6/sA19QL+j,B/~1/lB4ye40nV"
},
{
"type": "encryption",
"pointer": "/~0/~0/skWWCNB/~1"
},
{
"type": "encryption",
"pointer": "/ESkhqwZ"
},
{
"type": "encryption",
"pointer": "/XZx1OKJJ1/~0"
},
{
"type": "encryption",
"pointer": "/~1"
}
]
},
"last_updated": "1967-11-02T04:30:57.888Z",
"encodingVersion": 1,
"job": {
"_id": "3fd3e14619f734d975985198",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"014fb5a8288ccec525c269d0",
"c6f5cdf319a88156a256a7a7",
"addf611d339f858346766276",
"e24133cbf17e1a7beff1c260"
]
},
"groups": [
{
"_id": "97ff5f889795b9800939ebb9",
"provenance": "deserunt do nisi ex dolore",
"name": "nostrud sit",
"description": "dolor ea exercitation officia et",
"memberOf": [
{
"groupId": "38ae4a1f8aee5233bd592001",
"aaaManaged": false
},
{
"groupId": "dbf4fc0c9f5f714a4f699a3c",
"aaaManaged": false
},
{
"groupId": "b4d7d1091e5d5e07ece5d3f1",
"aaaManaged": true
},
{
"groupId": "c099da082802c8c77770b8a2",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "pariatur reprehenderit"
}
],
"inactive": false,
"_meta": {
"created": "2020-09-28T15:45:14.705Z",
"updated": "2013-09-10T22:15:22.137Z",
"migrationVersion": 53082561
}
},
"14d7effe09532c53857d30c7",
"9b719a32652c14dd3ee12bfc"
],
"type": "automatic",
"metrics": {
"start_time": "voluptate nulla dolore",
"end_time": -20507317.156658277,
"server_id": "dolore incididunt amet minim voluptate",
"finish_state": "failure",
"run_time": -40625830.64134864,
"retrying": true,
"user": "",
"owner": "Pronghorn"
}
}
}