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": "b77279d43fbd6ea9f0234268"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "f4e2e5fd-0Dba-0643-9De1-B699EDDb0437",
"location": "Application",
"view": "eiusmod",
"status": "scheduled",
"app": "ut",
"name": "eu proident anim laborum",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/iV/~0/u6x/rv2y/Wb/ZjkgYQr/~1"
},
{
"type": "encryption",
"pointer": "/Vw/cCjQ/r9Jf"
},
{
"type": "encryption",
"pointer": "/~0/W"
}
]
},
"last_updated": "1994-10-18T16:00:55.863Z",
"encodingVersion": 1,
"job": {
"_id": "2899c99a34008fa46dcc8bcf",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"de0e01ecc67acfc4286abbb5"
],
"type": "manual",
"metrics": {
"start_time": "sed Ut occaecat labore",
"claim_time": "1964-08-20T07:17:52.214Z",
"end_time": 25194063.725431487,
"server_id": "elit fugiat eu eiusmod",
"finish_state": "paused",
"run_time": 99095463.84353581,
"user": "a2187760dae253127381d3c1",
"owner": "2f00c1a1c6a212753f984b0b"
}
}
}