Get All V Ms
Returns a list of VM IDs and paths for all VMs
Request
URI
GET
https://{api_host}/api/vms
COPY
Responses
200
All VMs' ID and path
[
{
"id": "string",
"path": "string"
}
]
401
Authentication failed
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
403
Permission denied
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
500
Server error
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
default
Unexpected error
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message