List VMs
The VMs of the tenant.
GET /v1/tenants/{tenant}/vms
curl -X GET "https://api.shako.dev/v1/tenants/acme/vms" \
-H "Authorization: Bearer $SHAKO_API_KEY"200 (excerpt)
{
"data": [
{
"name": "web1",
"tenant": "acme",
"state": "awake",
"ssh": "web1.acme.shako.dev",
"vcpus": 1,
"mem_mib": 2048,
"disk_gb": 10
}
]
}Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: contributor or owner.
Path parameters
tenantstringrequired- The tenant's name, from GET /v1/tenants.
Response
200 with {"data": [...]}: a list of the VM object or the unreachable VM object.
Behavior
A VM whose host does not answer is in the list with the state unreachable: see the unreachable VM object.
The errors. All the endpoints of VMs.