URL Variablen
Name | Beschreibung |
---|---|
vmid | Identifier der VM (fünfstellige Zahl) |
Response (application/json)
{
"status": "success",
"requestID": "cc6d7cb6-b74e-4b81-aa32-684147b45c75",
"message": "current traffic log for June in MB is displayed below",
"data": {
"month": "JUNE",
"log": [
{
"date": "2024-05-31T22:01:11.285Z",
"in": 1.681,
"out": 0.0349
},
{
"date": "2024-05-31T22:11:05.564Z",
"in": 3.3426,
"out": 0.0778
},
{
"date": "2024-05-31T22:21:01.216Z",
"in": 5.0545,
"out": 0.1351
}
]
}
}
Response Enums
Response Parameter | Beschreibung |
---|---|
month | Gibt den aktuellen Monat zurück, auf welchen sich der Traffic bezieht |
cURL
curl "https://live.fireapi.de/vm/:vmid/traffic/current/log" -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY"
Anfrage testen