Server status
GET
https://api.vpsbg.eu/v1/servers/{id}/statusThis endpoint will return live information about your server.
Request
Path Params
id
string
required
Body Params text/plain
Request samples
Responses
Live information regarding your server - current resource usage, state and additional information.(200)
Live information regarding your server - current resource usage, state and additional information.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
running
boolean
optional
suspended
boolean
optional
network_suspended
boolean
optional
This represents a server state where it is operational but network activity is halted. However, the server's processes remain active and continue to function. Network suspension may apply if you exceeded your bandwidth limit.
rescue_mode
boolean
optional
dns_resolvers
array[string]
optional
cpu
object
optional
The values in this object are expressed as percentile values.
used
integer
optional
free
integer
optional
disk
object
optional
The values in this object are expressed in gigabytes (GB).
used
number
optional
limit
integer
optional
bandwidth
object
optional
The values in this object are expressed in gigabytes (GB).
used
number
optional
limit
integer
optional
This can be zero (0) if your server has unlimited bandwidth option enabled.
ExampleExample 1
{
"running": true,
"suspended": false,
"network_suspended": false,
"rescue_mode": true,
"dns_resolvers": [
"9.9.9.9",
"208.67.222.222"
],
"cpu": {
"used": 2,
"free": 98
},
"disk": {
"used": 3.8271484375,
"limit": 50
},
"bandwidth": {
"used": 6.13,
"limit": 5000
}
}
Last modified: 3 months ago