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": "f85D40a1-ceB9-BAd7-7f4E-e0AcaAEeb467",
"location": "Application",
"view": null,
"status": "failure",
"app": "ut ut occaecat",
"name": "dolor",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/KDR/~1/ua8/N./~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/~1/m9l/~0/~1/~0/hC,G/uXVh+/ELgM/~0"
}
]
},
"last_updated": "1962-07-11T04:59:06.924Z",
"encodingVersion": 1,
"job": {
"_id": "9d925d8166730f40fa2a0e36",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"b45d2b7e14079fc729b353b1",
"c8bb9ba85d72ed2e8fe7845b"
]
},
"groups": [
{
"_id": "08367fec77286df30f648f17",
"provenance": "ipsum id et",
"name": "aliqua ad",
"description": "labore commodo",
"memberOf": [
{
"groupId": "a43452d74226104654ee953f",
"aaaManaged": true
},
{
"groupId": "1a6c8fdaa210b84ed090e9ee",
"aaaManaged": true
},
{
"groupId": "5196673d4bd339a94b72b8cd",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "labore ullamco anim dolore"
}
],
"inactive": true,
"_meta": {
"created": "2004-03-28T22:39:10.031Z",
"updated": "2022-02-08T05:46:44.227Z",
"migrationVersion": -62450326
}
}
],
"type": "manual",
"metrics": {
"start_time": "sed laboris consectetur id veniam",
"claim_time": "1963-07-03T07:55:30.425Z",
"end_time": 62107026.00088084,
"server_id": "reprehenderit commodo Duis",
"finish_state": "failure",
"run_time": 65125380.819645375,
"user": "",
"owner": ""
}
}
}