21 System Resources

21.1 Get Resources

GET https://<HOST>:<PORT>/api/resources/get?version=0

Returns the utilization of the systems resources.

Required Permissions

  • API

  • Monitoring Mode Read Access

Request parameters

  • value

    If set only the utilization of the selected resources will be returned

    Type: String

    Possible Values:

    • disk

    • cpu

    • ram

Response Body Structure

The response body is structured as Resources JSON object. A description for its fields is at section 30.40.1. For the JSON schema refer to section 30.40.2.

Example

GET http://127.0.0.1:8888/api/resources/get?version=0
HTTP Response
HTTP/1.1 200 OK
HTTP Response Body
{
  "disk": {
    "total": 1022870155264,
    "used": 851323797504
  },
  "cpu": 50,
  "ram": {
    "total": 68580188160,
    "used": 28240965632
  }
}