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": "bB0e3cDA-FcF7-b0ef-B6dd-9FEfC20b571E",
"location": "Application",
"view": null,
"status": "incomplete",
"app": "nulla dolor consectetur dolore",
"name": "occaecat fugiat",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/GKEXzaZ5868/~0/AcfUjyfW./~0/~1"
},
{
"type": "encryption",
"pointer": "/gguv/~0/~0/~0/~1/og/~0/~1/J.jkwC,bRM/~0"
},
{
"type": "encryption",
"pointer": "/GP/~1/U7NKIkI4d5/ieFj.A"
},
{
"type": "encryption",
"pointer": "/jsjL/IDhqMXGj/Px7/~1/gn3+Jn,0E/J/~1/~1/~0"
}
]
},
"last_updated": "1980-07-17T17:51:55.161Z",
"encodingVersion": 1,
"job": {
"_id": "02e3286ff2863ee16af04f21",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
{
"_id": "7a1650e0e93e6c1f55c5dcec",
"provenance": "nisi aliqua aute ea laboris",
"name": "eiusmod dolore",
"description": "ea eu",
"memberOf": [
{
"groupId": "613df859ff33d8ae3788d180",
"aaaManaged": true
},
{
"groupId": "4471be0cbd5c52ca62097b37",
"aaaManaged": false
},
{
"groupId": "73a5393ef64abffe33c36743",
"aaaManaged": true
},
{
"groupId": "bf4963edc4729373ddaf92c6",
"aaaManaged": true
},
{
"groupId": "dbd07715af316aa777369064",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "aliquip"
}
],
"inactive": false,
"_meta": {
"created": "2009-02-19T20:21:03.778Z",
"updated": "1973-03-24T16:05:19.461Z",
"migrationVersion": 98996689
}
},
"60e4df2a1aca4c1cae6b51a9"
],
"type": "manual",
"metrics": {
"start_time": "in eiusmod Duis incididunt",
"claim_time": "2013-05-06T13:27:52.573Z",
"end_time": 66371752.5549168,
"server_id": "amet id",
"finish_state": "failure",
"run_time": 65458121.47140384,
"user": "",
"owner": {
"_id": "12a26feb63e8545c27a3f42c",
"provenance": "ut cupidatat dolor magna cillum",
"username": "irure",
"firstname": "culpa",
"memberOf": [
{
"groupId": "264eb2dbfa74aa4cc18c8e7f",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "veniam tempor dolor"
},
{
"roleId": "aliqua dolore"
},
{
"roleId": "est"
},
{
"roleId": "magna ut consequat adipisicing"
}
],
"inactive": true,
"lastLogin": "2012-10-06T15:51:51.448Z",
"_meta": {
"created": "2021-11-17T11:48:16.336Z",
"updated": "2015-02-20T01:57:05.136Z",
"migrationVersion": -32278341
},
"email": "commodo"
}
}
}
}