URL Variablen
Name | Beschreibung |
---|---|
vmid | Identifier der VM (fünfstellige Zahl) |
Response (application/json)
{
"status": "success",
"requestID": "763b7c87-b5d3-4897-bfed-cdebde80d315",
"message": "VM network config retrieved successfully",
"data": {
"network_devices": {
"eth0": {
"model": "virtio",
"mac_address": "BC:24:11:9F:16:7D",
"rate_limit": 1000,
"ipv4": {
"ip_address": "45.52.216.234",
"cidr": 23,
"gateway": "45.52.216.1"
},
"ipv6": {
"ip_address": "2a0a:40fd:5:a747::",
"cidr": 64,
"gateway": "2a0a:40fd:5::1"
}
}
}
}
}
cURL
curl "https://live.fireapi.de/vm/:vmid/network" -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY"
Anfrage testen