Create Shared Folder
Mounts a new shared folder in the VM
ID of VM
Parameters of the shared folder to mount
{
"folder_id": "string",
"host_path": "string",
"flags": 0
}
ID of folder which be mounted to the host
Path of the host shared folder
The flags property specifies how the folder will be accessed by the VM. There is only one flag supported which is "4" and means read/write access.
Shared folders mounted in the VM
[
{
"folder_id": "string",
"host_path": "string",
"flags": 0
}
]
Invalid parameters
{
"code": 0,
"message": "string"
}
code
message
Authentication failed
{
"code": 0,
"message": "string"
}
code
message
Permission denied
{
"code": 0,
"message": "string"
}
code
message
No such resource
{
"code": 0,
"message": "string"
}
code
message
Content type was not supported
{
"code": 0,
"message": "string"
}
code
message
Resource state conflicts
{
"code": 0,
"message": "string"
}
code
message
Server error
{
"code": 0,
"message": "string"
}
code
message
Unexpected error
{
"code": 0,
"message": "string"
}
code
message