Check the status of an ongoing or recently completed rebuild of your virtual server (VM). It returns a unique ID that can be used to track the result in other API calls. Check if the server is running, its uptime, and any messages related to the rebuild.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string retryAfter string requestId string https://cloud.hostup.se/api/vm/{vmid}/rebuild-status curl -X GET "https://cloud.hostup.se/api/vm/17127/rebuild-status" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"status": "string",
"status_lang": "string",
"locked": true,
"built": true,
"power": true,
"uptime": 0,
"isRebuilding": true,
"rebuildProgress": 0,
"rebuildMessage": "string",
"credentials": {
"username": "string",
"password": "string",
"sshkeys": [
"string"
]
}
}
}