Last Updated: 1/22/2020 12:11:08 AM
Get virus/spyware statistics during a time range
1. It returns the aggregated summary within one day if time range is not specified. 2. The largest query duration is 30 days.
Request
HTTP Request
GET /SMPI/{version}/service/wfbss/api/summary/stats
Parameters
Name |
Type |
Description |
Validation |
|---|---|---|---|
|
Optional Parameters |
|||
start_time |
integer |
Start time of counting interval |
Unix timestamp (seconds since 1970-01-01 00:00:00 UTC). end_time - start_time < 30 days |
end_time |
integer |
End time of counting interval |
Unix timestamp (seconds since 1970-01-01 00:00:00 UTC). If not set, the default is now. |
HTTP Request Example
Get the virus/spyware stat summary since last day:
GET /SMPI/{version}/service/wfbss/api/summary/stats
Get one-day summary after the specified time :
GET /SMPI/{version}/service/wfbss/api/summary/stats?begin_time=1369394768
Get five-day summary after the specified time :
GET /SMPI/{version}/service/wfbss/api/summary/stats?begin_time=1369394768&end_time=1369826768
Request Body
Do not supply a request body with this method.
Response
Response
If successful, this method returns an HTTP 200 OK status code and a response body with the following structure:
{
"summary": {
"virus": {
"deleted": 1179,
"quarantined": 1248,
"renamed": 1219,
"passed": 1187,
"cleaned": 614,
"uncleanable": 5672
},
"spyware": {
"noncleaned": 6334,
"unsafe": 1609,
"reboot": 1495,
"cleaned": 1553
}
}
}
Name |
Type |
Description |
Length |
|---|---|---|---|
summary.virus.deleted |
integer |
The number of virus deleted |
|
summary.virus.quarantined |
integer |
The number of virus quarantined |
|
summary.virus.renamed |
integer |
The number of virus renamed |
|
summary.virus.passed |
integer |
The number of virus passed |
|
summary.virus.cleaned |
integer |
The number of virus cleaned |
|
summary.virus.uncleanable |
integer |
The number of virus uncleanable |
|
summary.spyware.noncleaned |
integer |
The number of spyware uncleaned |
|
summary.spyware.unsafe |
integer |
The number of unsafe spyware |
|
summary.spyware.reboot |
integer |
The number of spyware require reboot |
|
summary.spyware.cleaned |
integer |
The number of spyware cleaned |
