Response

JSON formatted response
{

  "health": 0,

  "online": true

  "write_permits": {
    "current": "0",
    "max": "98",
    "is_over_threshold": false
  },
  "read_permits": {
    "current": "0",
    "max": "98",
    "is_over_threshold": false
  },
  "on_heap_permits": {
    "current": "52245298",
    "max": "286418534",
    "is_over_threshold": false
  },
  "off_heap_permits": {
    "current": "131072000",
    "max": "524288000",
    "is_over_threshold": false
  }

}
Parameters
Table 1. Response parameters for Device API state method
Parameter Type Description
+ health Long The health score provides information on the number of requests being serviced by that IBM Accesser device.
+ online Boolean Specifies the status of dsnet-core process.
+ write_permits Map Specifies current and max write permits, along with a boolean of is_over_threshold for write permits.
--- current Long  
--- max Long  
--- is_over_threshold Boolean  
+ read_permits Map Specifies current and max read permits, along with a boolean of is_over_threshold for read permits.
--- current Long  
--- max Long  
--- is_over_threshold Boolean  
+ on_heap_permits Map Specifies current and max on-heap permits, along with a boolean of is_over_threshold for on-heap permits.
--- current Long  
--- max Long  
--- is_over_threshold Boolean  
+ off_heap_permits Map Specifies current and max off-heap permits, along with a boolean of is_over_threshold for off-heap permits.
--- current Long  
--- max Long  
--- is_over_threshold Boolean