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": "061c3e7ced9a108fc2dae2fa"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"_id": "B7d1Bc6C-e735-a416-60De-FcdD07463c5f",
"location": "Application",
"view": "esse qui",
"status": "scheduled",
"app": "Excepteur veniam esse dolore",
"name": "proident et consectetur",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/VMoilEeJqf./i/zYZ.RUlW/La+WLDq/b/r.c/~0/pn/gevN/~0/Y/~1"
},
{
"type": "encryption",
"pointer": "/eltsQ6UXQ/~1/S3rYocA985x/~1/~1/Z/~1/W8/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/u.a,lH/~0/~0/deU00uDI-f//S/~1/~0/~0"
},
{
"type": "encryption",
"pointer": "/~1/~0/zhmD2XnR6y/~1/~1/F/bJPEt/~0/~0/h4YoIX/~0"
}
]
},
"last_updated": "1956-01-29T23:02:17.335Z",
"encodingVersion": 1,
"job": {
"_id": "1fb63456e8246b3e42628376",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"eadab786a3913af923b36052"
],
"type": "automatic",
"metrics": {
"start_time": "elit",
"end_time": 10505181.193665564,
"server_id": "adipisicing ut sint ipsum exercitation",
"finish_state": "success",
"run_time": -4573062.028674528,
"retrying": false,
"user": "",
"owner": "Pronghorn"
}
}
}