-
GET /api/marketplace-resources/<resource_uuid>/
- Get details about a specific VM.This endpoint retrieves comprehensive information about a virtual machine, including its name, status, flavor, image, IP addresses, and other relevant details. You'll need the
resource_uuid
of the VM, which you can obtain from the "List VMs" endpoint (3.2.2).Request Example:
GET [https://api.wayscloud.services/api/marketplace-resources/vm_resource_uuid/](https://api.wayscloud.services/api/marketplace-resources/vm_resource_uuid/)
Authorization: Token <your_api_token>Response Example:
{
"uuid": "vm_resource_uuid",
"name": "My VM",
"state": "OK",
"runtime_state": "active",
"project": "project_uuid_value",
"offering": "offering_uuid_value",
"plan": "plan_uuid_value",
"image": "image_uuid_value",
"flavor": "flavor_uuid_value",
"internal_ips": ["192.168.1.10"],
"external_ips": ["192.168.1.100"],
//... other fields...
}Status Codes:
- 200 OK: The VM details were successfully retrieved.
- 401 Unauthorized: The user making the request is not authorized.
-
404 Not Found: The specified VM
resource_uuid
does not exist.