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 imported 3 of 4 documents",
"data": {
"_id": "d3bb53e4-4115-adfe-AaEA-9Ce3D8EFE3ad",
"location": "Broker",
"view": null,
"status": "incomplete",
"app": "cupidatat irure",
"name": "officia",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/V4/T1fk5py/U5l/v9/~0/VB/~0/~1/~1"
}
]
},
"last_updated": "1958-08-17T22:42:22.67Z",
"encodingVersion": 1,
"job": {
"_id": "999fdaa4b1241b5d0134b49d",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"2fd566da260e86ec3913e941",
{
"_id": "59ec801556dd5b77ebc90418",
"provenance": "esse ipsum",
"name": "ex",
"description": "exercitation",
"memberOf": [
{
"groupId": "31e3c94abcb8b3bfeb8615a2",
"aaaManaged": true
},
{
"groupId": "c8e1ace7419e4a2014425d94",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "elit"
},
{
"roleId": "ipsum qui irure"
},
{
"roleId": "minim culpa"
},
{
"roleId": "incididunt exercitation"
},
{
"roleId": "veniam ut elit"
}
],
"inactive": false,
"_meta": {
"created": "2011-09-27T16:34:00.53Z",
"updated": "1948-12-27T16:36:14.384Z",
"migrationVersion": -46887765
}
},
{
"_id": "af796fe958c0208d5d995259",
"provenance": "incididunt",
"name": "adipisicing deserunt magna",
"description": "ut velit",
"memberOf": [
{
"groupId": "4c49fc12faa804618747eb25",
"aaaManaged": true
},
{
"groupId": "7140d5f7a4fe10483ea9bdd9",
"aaaManaged": true
},
{
"groupId": "d22663015a634b4f7d232b55",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "dolore ea laborum sed qui"
},
{
"roleId": "consectetur occaecat"
},
{
"roleId": "proident dolore"
},
{
"roleId": "elit dolor"
}
],
"inactive": true,
"_meta": {
"created": "1951-02-11T06:42:45.318Z",
"updated": "1962-07-04T08:13:28.128Z",
"migrationVersion": -60280035
}
}
],
"type": "operation",
"metrics": {
"start_time": "consectetur magna",
"end_time": -82876093.44219522,
"server_id": "eiusmod ex cillum do commodo",
"finish_state": "scheduled",
"run_time": 70457398.179943,
"retrying": false,
"user": "Pronghorn",
"owner": "2a8a6ae93b1a941f771db1e8"
}
}
}