Get Information
Get server specific information
HTTP Request
GET https://garry.host/api/client/servers/<ID>
Parameter
Description
ID
The ID of the server that you are requesting.
URL Parameters
The above command returns JSON structured like this:
This endpoint retrieves information for the specified server.
Get server resource utilization
URL Parameters
HTTP Request
GET https://garry.host/api/client/servers/<ID>/utilization
Parameter
Description
ID
The ID of the server that you are requesting.
The above command returns JSON structured like this:
This endpoint displays resource utilization of the specified server. If the server is offline, current data is displayed as 0
and the state is displayed as off
.
Dernière mise à jour