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": "4E5c98f4-fE3B-a6d5-78ea-A46A7418C2ED",
"location": "Application",
"view": "tempor nostrud esse ex",
"status": "complete",
"app": "est esse ullamco dolore magna",
"name": "Excepteur",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/iKZu70bqNpx/~0/~0/~1/~0/wTSvBMmc-eX/rl40eQl/i,Ch,kJ+/IyMsw"
},
{
"type": "encryption",
"pointer": "/YRH/~1/vZ6g+pgV/uSCrI5yMD/~0/jt"
}
]
},
"last_updated": "1951-03-14T11:41:17.008Z",
"encodingVersion": 1,
"job": {
"_id": "9b4b9e0dfbf771108c44d5be",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"9aeeb6f998551e3ee5f5f2bd"
]
},
"incomingRefs": [],
"groups": [
{
"_id": "e2e99d4ea787abdcb4db1a7f",
"provenance": "Ut velit consequat commodo aliqua",
"name": "et laboris",
"description": "Excepteur esse labore nulla",
"memberOf": [
{
"groupId": "3969774b37e4c9e30e52298f",
"aaaManaged": true
},
{
"groupId": "bce9838c0fdae850279895b2",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "aliqua cupidatat consectetur"
},
{
"roleId": "deserunt adipisicing culpa enim"
},
{
"roleId": "eu"
},
{
"roleId": "sint fugiat"
}
],
"inactive": false,
"_meta": {
"created": "1958-10-16T04:33:50.77Z",
"updated": "1950-08-28T11:27:42.507Z",
"migrationVersion": -32144137
}
},
{
"_id": "ca184610dbf753239f45ea4f",
"provenance": "sed exercitation ullamco dolore laborum",
"name": "laboris exercitation Ut mollit occaecat",
"description": "pariatur nulla enim labore",
"memberOf": [
{
"groupId": "6c1f8b2ce6a8f4b7bb7108a1",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "incididunt ea in ipsum"
},
{
"roleId": "elit culpa dolore do in"
},
{
"roleId": "eiusmod magna"
},
{
"roleId": "in"
}
],
"inactive": false,
"_meta": {
"created": "2023-03-26T06:41:54.826Z",
"updated": "2004-07-31T22:58:56.667Z",
"migrationVersion": 28866735
}
}
],
"type": "manual",
"metrics": {
"start_time": "sed officia laboris do non",
"claim_time": "1987-02-07T02:49:56.854Z",
"end_time": 55021004.74619573,
"server_id": "consequat in ut voluptate irure",
"finish_state": "success",
"run_time": -55418374.95422861,
"user": "Pronghorn",
"owner": "05b4bbbdc32c029544e98143"
}
}
}