Retrieve detailed information about all disks connected to a specific Virtual Machine (VM). This returns details like size, usage, and disk type. The returned `requestId` can be used for follow-up calls to other API endpoints.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data array error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/disks curl -X GET "https://cloud.hostup.se/api/vm/14611/disks" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": [
{
"name": "string",
"storage": "string",
"path": "string",
"size": "string",
"type": "string",
"device": "string",
"isCdrom": true,
"bootOrder": "string",
"sizeBytes": 0,
"sizeFormatted": "string",
"usedBytes": 0,
"usedFormatted": "string",
"usedPercent": 0,
"readBytes": 0,
"writeBytes": 0,
"readOps": 0,
"writeOps": 0
}
]
}