Summary
Assign a task to a user
Description
Assign a Task to a user.
Route
POST /operations-manager/tasks/:taskId/assign
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
taskId |
string |
yes |
The id of the Task iteration to be assigned. |
userId |
string |
yes |
The identifier of the user to assign to the task |
Copied to Clipboard
{
"userId": "c3d29192822169712f2f5274"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "A9f2c2Cd-bB52-81a6-Dec4-eDc02b5c38f5",
"location": "Adapter",
"view": "officia deserunt nisi pariatur",
"status": "running",
"app": "commodo culpa",
"name": "dolore non",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1"
}
]
},
"last_updated": "2014-08-30T20:19:36.086Z",
"encodingVersion": 1,
"job": {
"_id": "46fb4165f434037bd9792399",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"27d6a0bb9bc91b370d317fda"
]
},
"incomingRefs": [],
"groups": [
"2c72e02da7649e036f01cd07"
],
"type": "automatic",
"metrics": {
"start_time": "adipisicing in",
"end_time": -34441051.207458265,
"server_id": "sint veniam",
"finish_state": "scheduled",
"run_time": 50938259.08469051,
"retrying": null,
"user": "Pronghorn",
"owner": "7ac07393688edadc6e6f0493"
}
}
}