Resource History
Return the historical resource usage for a server. Data is aggregated based on time range: - 1 day: hourly data (no aggregation) - 3 days: 3-hour intervals - 7 days: 6-hour intervals
get
Path parameters
serverintegerRequired
The server ID
Responses
200Success
application/json
404
Not found
application/json
422
Validation error
application/json
get/servers/{server}/resources/history
GET /api/client/servers/{server}/resources/history HTTP/1.1
Host: reviactyl.test
Accept: */*
{
"data": [
{
"timestamp": "text",
"cpu_absolute": 1,
"memory_bytes": 1,
"disk_bytes": 1,
"network_rx_bytes": 1,
"network_tx_bytes": 1
}
]
}Last updated
Was this helpful?

