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": "Bc95D96E-c9f6-b2c0-fA3E-27EDEDa56DE3",
"location": "Broker",
"view": "in mollit aliqua tempor",
"status": "error",
"app": "cupidatat elit",
"name": "minim voluptate",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/aejfn8P//r/~1/jioWjiImn9V/~0/O5yf/~1/tQTz2/Gl/RrEz7ry/HUchwi"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/~0/bbiMH+ZOmM//~1/OshORFQS/EHoC,xt99N2/v"
}
]
},
"last_updated": "2016-09-27T01:01:49.829Z",
"encodingVersion": 1,
"job": {
"_id": "0d70d8c8272c06f11574b68f",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"5eba1eb8c9d6fc1def681de9",
"e636ad06b16a79688ec3f092",
"07ec381585b1295d0952189a",
"3b6b6d91219fa235dfc19989",
"937131c4e86421251a2241e5"
]
},
"groups": [
{
"_id": "f9de768ece26e61ea0a2f3ed",
"provenance": "cupidatat incididunt ut sunt",
"name": "reprehenderit ex",
"description": "in",
"memberOf": [
{
"groupId": "c801d9ee80b48a6c308c8c02",
"aaaManaged": false
},
{
"groupId": "ee7eac82dc49069f0e2cb977",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "officia"
}
],
"inactive": true,
"_meta": {
"created": "2018-07-07T00:32:12.714Z",
"updated": "1975-01-31T08:48:54.195Z",
"migrationVersion": -7833818
}
},
"a47cab1cf949d4c3cb51ef25",
{
"_id": "6a532e3b8ca51e1282493556",
"provenance": "velit et labore adipisicing",
"name": "officia elit aliqua nisi",
"description": "fugiat magna",
"memberOf": [
{
"groupId": "ea52fc60c1d7234bab891ec5",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "laboris dolore ut culpa sed"
},
{
"roleId": "est"
},
{
"roleId": "culpa minim aute"
}
],
"inactive": false,
"_meta": {
"created": "1963-03-16T14:37:10.987Z",
"updated": "2012-04-05T04:56:08.947Z",
"migrationVersion": -29465288
}
},
"56eb1ad44ec74d3de8a4446e"
],
"type": "manual",
"metrics": {
"start_time": "sit in in amet ad",
"claim_time": "2010-02-24T10:31:09.454Z",
"end_time": -11343435.109986857,
"server_id": "commodo sunt dolore ex qui",
"finish_state": "error",
"run_time": 16723905.438299492,
"user": "Pronghorn",
"owner": "Pronghorn"
}
}
}