Sunucu Listeleme
Tüm Sunucular
Bu endpoint ile sahip olduğunuz bütün sunucuları listeleyebilirsiniz.
Endpoint
GET https://api.ilkbyte.com/v2/server/list/all
Params
| Parametre | Tip | Açıklama | Gereklilik |
|---|---|---|---|
| p | integer | Pagination için görüntülemek istediğiniz sayfa numarası. | Opsiyonel |
Response
{
"success": true,
"message": "255 Server Listed",
"data": {
"pagination": {
"current_page": 1,
"total_page": 26
},
"server_list": [
{
"name": "test1",
"ipv4": "127.0.0.1",
"ipv6": "",
"osapp": "Ubuntu 16.04 LTS / OpenSSH",
"bandwidth_limit": 1073741824000,
"bandwidth_usage": 997386,
"is_vxlan": false,
"service": "cancel",
"status": null,
"deleted_time": "10.10.2020 18:53:54"
},
{
"name": "test2",
"ipv4": "127.0.0.1",
"ipv6": "",
"osapp": "Ubuntu 16.04 LTS / OpenSSH",
"bandwidth_limit": 2147483648000,
"bandwidth_usage": 1824704370,
"is_vxlan": true,
"private_ip": "10.0.0.5",
"network_id": 42,
"service": "active",
"status": "active",
"created_time": "09.10.2020 16:25:01"
}
]
}
}
Aktif Sunucular
Bu endpoint ile sahip olduğunuz bütün aktif sunucuları listeleyebilirsiniz.
Endpoint
GET https://api.ilkbyte.com/v2/server/list
Params
| Parametre | Tip | Açıklama | Gereklilik |
|---|---|---|---|
| p | integer | Pagination için görüntülemek istediğiniz sayfa numarası. | Opsiyonel |
Response
{
"success": true,
"message": "2 Server Listed",
"data": {
"pagination": {
"current_page": 1,
"total_page": 1
},
"server_list": [
{
"name": "test1",
"ipv4": "127.0.0.1",
"ipv6": "",
"osapp": "Ubuntu 22.04 LTS / OpenSSH",
"bandwidth_limit": 2147483648000,
"bandwidth_usage": 1824704370,
"is_vxlan": true,
"private_ip": "10.0.0.5",
"network_id": 42,
"service": "active",
"status": "active",
"created_time": "09.10.2020 16:25:01"
}
]
}
}
Not: VXLAN altyapısındaki sunucular için yanıtta ek olarak private_ip ve network_id alanları yer alır. is_vxlan alanı sunucunun VXLAN ağında olup olmadığını gösterir.