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": "41F17d7c-DE8a-3Fb3-6Ccd-A47a882Ede57",
"location": "Application",
"view": null,
"status": "paused",
"app": "dolore ipsum laborum nisi ut",
"name": "eu esse",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/OWgO/~1/~1/XyxN5e+E0/fW/~1/qMPXc,6.Gq/Ma2L-LEn"
},
{
"type": "encryption",
"pointer": "/~1/~1/AVyRFj/~1"
},
{
"type": "encryption",
"pointer": "/~0/lgEB1pOpU-J/qiCJUpTRD4/Cb9fnM/~0/oy+/~0/Cw6/~0/~1"
},
{
"type": "encryption",
"pointer": "/z+obHri/GhR36/~1/HU-A"
}
]
},
"last_updated": "2014-10-24T22:17:29.9Z",
"encodingVersion": 1,
"job": {
"_id": "c80df3eac53d426682476e33",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
{
"_id": "b2f77488e6f9d1c94968dd17",
"provenance": "officia labore dolore eiusmod do",
"name": "in est nostrud",
"description": "ad culpa est eu",
"memberOf": [
{
"groupId": "580963161cdffda6abfe7ad0",
"aaaManaged": true
},
{
"groupId": "fdade1e90e13d4ee54439dbd",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "nulla"
},
{
"roleId": "nulla minim dolor"
},
{
"roleId": "dolor velit nulla Lorem"
},
{
"roleId": "dolore eiusmod nulla"
},
{
"roleId": "laborum ex"
}
],
"inactive": true,
"_meta": {
"created": "1967-10-18T06:24:47.477Z",
"updated": "1956-09-09T07:20:18.528Z",
"migrationVersion": 58234136
}
},
"7c2abf44a4ec26b7bbdb1e5b"
],
"type": "operation",
"metrics": {
"start_time": "dolor",
"end_time": -74470960.72316283,
"server_id": "sunt elit velit",
"finish_state": "paused",
"run_time": -36830899.79786405,
"retrying": false,
"user": "fee535a29f40fef8fd05593b",
"owner": ""
}
}
}