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 created the requested item",
"data": {
"_id": "9d7B6bea-6EeF-700a-0fB1-AA5fAD7dD713",
"location": "Application",
"view": "ullamco non voluptate",
"status": "paused",
"app": "dolor deserunt occaecat",
"name": "officia est do dolore id",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0"
}
]
},
"last_updated": "1997-09-02T09:47:17.444Z",
"encodingVersion": 1,
"job": {
"_id": "904ccfd953e4ea422349285c",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"cbf049fc26f1474fd765cd99",
{
"_id": "fc0665f30e2208d6f43db2e2",
"provenance": "enim fugiat minim sunt mollit",
"name": "exercitation proident",
"description": "ipsum dolor nostrud",
"memberOf": [
{
"groupId": "bb7ea844c208acf57ff65d90",
"aaaManaged": true
},
{
"groupId": "aaa73a882f0410d1a773f213",
"aaaManaged": false
},
{
"groupId": "76c1a17ed68e6b85d415caec",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "cillum veniam dolor"
},
{
"roleId": "irure aute adipisicing quis"
},
{
"roleId": "Ut voluptate minim cupidatat"
},
{
"roleId": "Duis ad id et"
}
],
"inactive": false,
"_meta": {
"created": "2018-09-27T09:08:52.484Z",
"updated": "1957-10-25T03:46:27.604Z",
"migrationVersion": 4800613
}
},
"397f23ab71b2525844704af6"
],
"type": "operation",
"metrics": {
"start_time": "fugiat dolor",
"end_time": 91571223.1463154,
"server_id": "Lorem culpa dolore ut",
"finish_state": "failure",
"run_time": -48536815.53529263,
"retrying": null,
"user": {
"_id": "0ec0987cb553086fcf84a61f",
"provenance": "pariatur ad tempor consequat",
"username": "anim officia dolore id",
"firstname": "veniam aliqua officia",
"memberOf": [
{
"groupId": "8f17eb2631786ae0b1bc77af",
"aaaManaged": false
},
{
"groupId": "813183f4cd1dc63e3d1840a9",
"aaaManaged": true
},
{
"groupId": "d7c904c8716d24ef02bf074a",
"aaaManaged": true
},
{
"groupId": "95a0ca0a1ad9486985f3cbf2",
"aaaManaged": true
},
{
"groupId": "6a1c5cc3b2f7b63d2407e939",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "magna culpa in"
},
{
"roleId": "culpa"
}
],
"inactive": true,
"lastLogin": "2010-09-06T09:03:38.232Z",
"_meta": {
"created": "2009-07-25T03:49:38.069Z",
"updated": "2014-03-14T20:04:18.402Z",
"migrationVersion": -7310715
},
"email": "enim dolor eiusmod ad"
},
"owner": "3f2d8f58e428adf5c6935991"
}
}
}