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": "81b48AD8-68a5-BCaB-bB60-45761bE5aB6b",
"location": "Application",
"view": null,
"status": "canceled",
"app": "minim sit enim",
"name": "dolor ex ullamco",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/ac0gvr8/~0/AeLA-Jk2/nSgT./Y-WVdu/rd/~1/~1/n/Ik/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/lSi1j"
}
]
},
"last_updated": "1967-06-11T23:11:42.989Z",
"encodingVersion": 1,
"job": {
"_id": "7c1ff0708be49ded1a7a2b24",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
{
"_id": "57afc50d9d52f9b726676c07",
"provenance": "officia reprehenderit",
"name": "ut ex anim aliqua minim",
"description": "esse in nisi consequat Lorem",
"memberOf": [
{
"groupId": "2fe06028e1c99ee0532abc7e",
"aaaManaged": true
},
{
"groupId": "c31c0dbf98260b58f203e81a",
"aaaManaged": true
},
{
"groupId": "9e5e0ce62306be0a77cb97d3",
"aaaManaged": true
},
{
"groupId": "1e0a5aeed7bca1d4a142cfb8",
"aaaManaged": false
},
{
"groupId": "bec95bf11076252ab9e652f0",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "adipisicing Lorem officia"
},
{
"roleId": "proident tempor adipisicing"
},
{
"roleId": "in consequat quis cillum ex"
},
{
"roleId": "adipisicing consectetur eu"
},
{
"roleId": "do officia ullamco aliquip dolor"
}
],
"inactive": true,
"_meta": {
"created": "1991-10-10T17:51:18.66Z",
"updated": "1949-10-25T10:23:47.877Z",
"migrationVersion": 61350909
}
},
"f47784c2822b3f716b1b97be",
"eb9f4c942c34a0cc0ee20fc6"
],
"type": "manual",
"metrics": {
"start_time": "reprehenderit voluptate",
"claim_time": "1945-07-30T20:40:39.672Z",
"end_time": -74597814.74172007,
"server_id": "mollit",
"finish_state": "error",
"run_time": -48338524.13706121,
"user": {
"_id": "52e6a45fa8e9c7d49593fc24",
"provenance": "ea sed laborum nostrud",
"username": "eiusmod labore incididunt amet",
"firstname": "ex exercitation",
"memberOf": [
{
"groupId": "b259c3fd68c702029857e637",
"aaaManaged": false
},
{
"groupId": "9cffec9a9b2faf73db3b7f50",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "velit ad"
},
{
"roleId": "elit id aute qui esse"
}
],
"inactive": false,
"lastLogin": "2009-05-05T20:31:16.447Z",
"_meta": {
"created": "1954-11-09T03:55:31.04Z",
"updated": "1952-05-22T11:51:43.872Z",
"migrationVersion": 28062275
},
"email": "irure ea dolor culpa"
},
"owner": "50acbe455e8d7846648348bf"
}
}
}