Backup wiederherstellen - Status abfragen
POST
/vm/:vmid/backup/restore/status
URL Variablen
| Name | Beschreibung |
|---|---|
| vmid | Identifier der VM (fünfstellige Zahl) |
Body Parameter (application/x-www-form-urlencoded)
| Name | Format | Beschreibung | Optional |
|---|---|---|---|
| backup_id | String | Backup-ID des Backups | — |
Response (application/json)
{4 Eigenschaften
"status": "success",
"requestID": "cb5c7841-438b-41bc-8331-fb2aff039326",
"message": "VM backup task result is shown below",
"data": {2 Eigenschaften
"status": "pending",
"progress": {1 Eigenschaft
"percentage": 40
}
}
}
{4 Eigenschaften
"status": "success",
"requestID": "86a9d5d1-74a9-4598-b296-b84557f9c601",
"message": "VM backup task result is shown below",
"data": {2 Eigenschaften
"status": "finished",
"progress": {1 Eigenschaft
"percentage": 100
}
}
}
cURL
curl -X POST 'https://live.fireapi.de/vm/:vmid/backup/restore/status' \ -H 'X-FIRE-APIKEY: YOUR-API-KEY' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'backup_id=VALUE'