View .md

Resource History endpoints (Client API: game servers)

1 FeatherPanel Client API: game servers endpoint from user/server/resource-history.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel 15b94e9 on .

On this page

Defined in backend/app/routes/user/server/resource-history.php. Authentication used here: Server access. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

Endpoints

GET/api/user/servers/{uuidShort}/resource-history

Auth: Server accessDefault rate limit: 20 / minute (user-server-resource-history)Route name: session-server-resource-historyController: ResourceHistoryController::serverroute source

Resource history for one server CPU, memory and disk history: five minute samples over 24 hours (range=24h, default) or hourly averages over 7 days (range=7d).

ParameterInTypeRequiredDescription
uuidShortpathstringyes
rangequerystringno
curl -X GET "$PANEL_URL/api/user/servers/$UUID_SHORT/resource-history" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 History retrieved · 404 Server not found