URL Variablen
Name | Beschreibung |
---|---|
vmid | Identifier der VM (fünfstellige Zahl) |
Response (application/json)
{
"status": "success",
"requestID": "a0dbf2e9-e754-4250-9fd3-353b05a16f39",
"message": "current traffic usage for June in GB is displayed below",
"data": {
"month": "JUNE",
"usage": {
"total": 7.12,
"in": 6.53,
"out": 0.59
},
"limit": {
"monthly": 1000,
"additional": null,
"remaining": 994.06,
"vm_status": "normal"
}
}
}
cURL
curl "https://live.fireapi.de/vm/:vmid/traffic/current" -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY"
Anfrage testen