Example of an HTTP request to get accumulated statistics

The following example shows an HTTP request to get accumulated statistics:

GET /api/v3.0/getstatistics HTTP/1.0

The following example shows the corresponding response:

HTTP/1.0 200 OK

Connection: close

Content-Type: text/plain

Server: KAVHTTPD/1.0

X-KAV-ProtocolVersion: 3

Date: Wed, 30 Jan 2019 19:07:54 GMT

Content-Length: 314

 

{

"statistics": {

"total_requests": 3,

"infected_requests": 3,

"protected_requests": 3,

"error_requests": 0,

"engine_errors": 0,

"processed_data": 204,

"infected_data": 204,

"processed_urls": 1,

"infected_urls": 1

}

}

where statistics is an object containing the following accumulated statistics:

Page top