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": "EE2dDF17-C6aE-b3b6-57AE-60De2a95A0bE",
"location": "Adapter",
"view": "anim",
"status": "running",
"app": "ut ipsum",
"name": "voluptate fugiat exercitation non",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/Z02/l74Ho/~0"
}
]
},
"last_updated": "2013-03-05T20:39:48.104Z",
"encodingVersion": 1,
"job": {
"_id": "580e29d7e84c79408e04623c",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"b3c828f5363125f2fb78382a",
{
"_id": "00649811cf8f88cf3fa839e9",
"provenance": "dolor minim",
"name": "culpa elit aute esse ut",
"description": "officia dolore",
"memberOf": [
{
"groupId": "646903d0728563620223d69a",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "commodo"
},
{
"roleId": "enim esse"
},
{
"roleId": "incididunt sed tempor"
},
{
"roleId": "commodo aliqua"
}
],
"inactive": true,
"_meta": {
"created": "1989-04-07T14:13:44.816Z",
"updated": "1981-07-23T17:28:36.615Z",
"migrationVersion": 13091695
}
},
"1779db3abba4255b6e6a1c9e"
],
"type": "automatic",
"metrics": {
"start_time": "nulla",
"end_time": -52372458.122017294,
"server_id": "aliquip cillum et",
"finish_state": "incomplete",
"run_time": 16638866.885690361,
"retrying": true,
"user": {
"_id": "94b16df888054020db281dc9",
"provenance": "in esse",
"username": "esse eiusmod",
"firstname": "est in ea",
"memberOf": [
{
"groupId": "1e033deb5773298e8545a31f",
"aaaManaged": false
},
{
"groupId": "35ea296d2c112aeda3ea9577",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "eiusmod ipsum sed quis"
},
{
"roleId": "dolore est esse sed"
},
{
"roleId": "sit adipisicing ullamco"
},
{
"roleId": "Excepteur fugiat enim"
},
{
"roleId": "tempor labore nostrud adipisicing consequat"
}
],
"inactive": false,
"lastLogin": "1957-03-11T14:05:44.275Z",
"_meta": {
"created": "1967-11-24T04:31:12.691Z",
"updated": "1984-08-22T16:46:28.204Z",
"migrationVersion": 16727643
},
"email": "sit commodo quis"
},
"owner": "68022baaf1d54b7cde9d8f92"
}
}
}