Icon Web Server Administration API - Status


Get Status Request
The get status request enumerates all of the statistics on the web server. If there is no active session or the session is not authenticated, the request will result in a 403 Forbidden HTTP response.

HTTP Method: GET

HTTP Response Content Type: application/json; charset=utf-8

Example Request:

https://localhost/administration?method=getstatus

Example Response Content:

{
   "UpTime": 530,
   "MemoryUsage": 131769148,
   "NumSessions": 1,
   "HTTP": { "NumConnections": 1,
             "RequestsPerSecond": 0,
             "ReadsPerSecond": 0,
             "WritesPerSecond": 0 },
   "HTTPS": { "NumConnections": 0,
              "RequestsPerSecond": 0,
              "ReadsPerSecond": 0,
              "WritesPerSecond": 0 }
}

HTTP Response: 200 on success, 403 if not authenticated, and 500 on error
Image