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": "2082fe7fcb1c41c1fb3a3ec4"
}
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": "eAdfD823-B785-Ddcf-FF33-BAd7C2C11daA",
"location": "Adapter",
"view": "consequat minim quis",
"status": "error",
"app": "et",
"name": "Duis",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/wc//ZAUBO/gcO7.y/2/~0/FZxIy2/Eb/R8/~1/hs"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/~0/~0/s1g/5ug-gC"
},
{
"type": "encryption",
"pointer": "/s2is2GEWj/no/ZvO/C6bFSB52DE/DDD6NhrnCRS/~0"
},
{
"type": "encryption",
"pointer": "/QEZ-pWoO/MrPqae"
},
{
"type": "encryption",
"pointer": "/~0/~0/Hl/mnbKYX/tCo5oUj/~0"
}
]
},
"last_updated": "1997-01-01T16:37:01.458Z",
"encodingVersion": 1,
"job": {
"_id": "afc80b1c8e63868301f19d49",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"ee1d181ccfbb4e3793ce798c",
{
"_id": "a3fd5b41dc82dbce5dc2ca88",
"provenance": "in nisi magna",
"name": "irure esse qui",
"description": "laborum sint sunt",
"memberOf": [
{
"groupId": "a403517e454936cd9cd465cf",
"aaaManaged": false
},
{
"groupId": "d2d34415d89712abea697045",
"aaaManaged": false
},
{
"groupId": "ed9456ea1662d27a8212db14",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "consequat minim consectetur occaecat"
},
{
"roleId": "proident ex est"
},
{
"roleId": "consequat nulla"
}
],
"inactive": false,
"_meta": {
"created": "1985-10-30T19:26:38.523Z",
"updated": "1979-09-18T18:29:04.373Z",
"migrationVersion": -42027860
}
},
"f80edd217f7b3541a9452f38",
"844b26c1c192da922823e89e"
],
"type": "automatic",
"metrics": {
"start_time": "sit sed officia do fugiat",
"end_time": 60596038.86182314,
"server_id": "minim occaecat sit",
"finish_state": "complete",
"run_time": -27934760.99193421,
"retrying": null,
"user": "",
"owner": "Pronghorn"
}
}
}