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": "66255c5d5ccbcbc4160bf9a9"
}
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": "cFE0A3bA-eCC4-407E-f63A-2a4bcd8fcDcb",
"location": "Broker",
"view": "Duis",
"status": "incomplete",
"app": "dolor officia culpa dolore",
"name": "labore culpa ullamco voluptate",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~1/~1/xX/~1/~1/RLzVaKe"
},
{
"type": "encryption",
"pointer": "/fhzBbt6/~1/g+/~1/~1/gBn/~1/~0/zXw2nFx86h"
},
{
"type": "encryption",
"pointer": "/ACRgfp/go3QKnueP/~0/K/~1/U-Mo4xXl-/KwSmS/~0/~1"
}
]
},
"last_updated": "1947-08-01T14:53:29.731Z",
"encodingVersion": 1,
"job": {
"_id": "19778048bb0da26f264bac81",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"9496460b9aeeb52b1637dd8b",
"51db3bd5c204fff9bd924058",
"153bf222fc0ad7ac06bcf35a",
"77114fc011cf1b29e3243647",
"1783e8fbc94675f99c5e227b"
]
},
"incomingRefs": [],
"groups": [
"7e3c9b363cb44c066de31f93"
],
"type": "operation",
"metrics": {
"start_time": "dolore commodo aliquip",
"end_time": -28729679.93904166,
"server_id": "aute est ipsum dolor",
"finish_state": "success",
"run_time": -37318291.49930532,
"retrying": null,
"user": "",
"owner": "c8e398756ec2d3e1937b8c14"
}
}
}