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 retrieved search results",
"data": {
"_id": "e3638b44-BedB-C2c8-9AFC-2de6bBF0Fa3a",
"location": "Application",
"view": "amet est dolore proident aute",
"status": "incomplete",
"app": "Excepteur in elit",
"name": "tempor mollit",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/GkO9L-/~0"
}
]
},
"last_updated": "1989-01-09T20:32:17.874Z",
"encodingVersion": 1,
"job": {
"_id": "74f29ef37e70a9953fc4842e",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
{
"_id": "a9ec407c3140be0fb33581a0",
"provenance": "ipsum ut Ut",
"name": "in Duis",
"description": "sit elit officia eu qui",
"memberOf": [
{
"groupId": "43a641c7b3828296e2dd6f02",
"aaaManaged": true
},
{
"groupId": "62849700b71afd35145c14b1",
"aaaManaged": false
},
{
"groupId": "797382a486845308ad2a15cc",
"aaaManaged": true
},
{
"groupId": "173e7e8a6761755d0593658e",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "esse dolore proident ut exercitation"
},
{
"roleId": "ullamco minim in quis"
},
{
"roleId": "incididunt veniam"
},
{
"roleId": "deserunt commodo pariatur"
}
],
"inactive": true,
"_meta": {
"created": "1947-11-21T08:59:04.075Z",
"updated": "1981-10-03T22:15:48.165Z",
"migrationVersion": -49626203
}
},
"7c4d626a322ae6477f3082d7",
"6a231b483dcd9866c2de2ca9",
"b0e6b4679aaa9d567635fbb9",
"d6cd1158a074c691638b5255"
],
"type": "operation",
"metrics": {
"start_time": "est dolore veniam dolor",
"end_time": 93395847.81990144,
"server_id": "adipisicing dolor aliqua",
"finish_state": "success",
"run_time": -34925380.18535814,
"retrying": false,
"user": "ca5102174f6d3c9054428aac",
"owner": "76ba41aa4cc4c62e23aa1817"
}
}
}