Views:

Last Updated: 1/22/2020 12:11:09 AM

Get the live status in the last 14 days.

Request

HTTP Request

GET /SMPI/{version}/service/wfbss/api/livestatus

Parameters

Name

Type

Description

Validation

Optional Parameters

start_time

integer

Query the data updated after the given time

Unix timestamp (seconds since 1970-01-01 00:00:00 UTC)

end_time

integer

Query the data updated before the given time

Unix timestamp (seconds since 1970-01-01 00:00:00 UTC)

HTTP Request Example

Get the latest livestatus :
GET /SMPI/{version}/service/wfbss/api/livestatus

Get the livestatus in a specific time range (defined by begin_time):
GET /SMPI/{version}/service/wfbss/api/livestatus?begin_time=1369394768

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:

{
  "livestatus": {
    "device_control" : {
        "1" : [ 
            {
                "exceed" : 5,
                "cid" : "7A33A680-ED79-481D-8E72-73DFCC3527F5"
            },
        ]
    },
    "wtp": {
      "1": [
        {
          "exceed": 18,
          "cid": "7A33A680-ED79-481D-8E72-73DFCC3527F5"
        }
      ]
    },
    "update_time": 1341975933,
    "antivirus": {
      "2": [
        {
          "exceed": 5,
          "cid": "7A33A680-ED79-481D-8E72-73DFCC3527F5"
        }
      ]
    },
    "behavior_monitoring": {
      "1": [
        {
          "exceed": 5,
          "cid": "7A33A680-ED79-481D-8E72-73DFCC3527F5"
        }
      ]
    },
    "url_filtering": {
      "1": [
        {
          "exceed": 13,
          "cid": "7A33A680-ED79-481D-8E72-73DFCC3527F5"
        }
      ]
    },
    "antispyware": {
      "2": [
        {
          "exceed": 3,
          "cid": "7A33A680-ED79-481D-8E72-73DFCC3527F5"
        }
      ]
    },
    "network_virus": {
      "1": [
        {
          "exceed": 3,
          "cid": "7A33A680-ED79-481D-8E72-73DFCC3527F5"
        }
      ]
    }
  }
}

Name

Type

Description

Length

livestatus.wtp.1

array

Array of customers with yellow light

livestatus.wtp.1[].exceed

integer

Number of exceeds

livestatus.wtp.1[].cid

string

Customer ID

GUID

livestatus.wtp.2

array

Array of customers with red light

livestatus.wtp.2[].exceed

integer

Number of exceeds

livestatus.wtp.2[].cid

string

Customer ID

GUID

livestatus.update.1

array

Array of customers with yellow light

livestatus.update.1[].outdated

integer

Number of outdated

livestatus.update.1[].cid

string

Customer ID

GUID

livestatus.update.2

array

Array of customers with red light

livestatus.update.2[].outdated

integer

Number of outdated

livestatus.update.2[].cid

string

Customer ID

GUID

livestatus.antivirus.1

array

Array of customers with yellow light

livestatus.antivirus.1[].exceed

integer

Number of exceeds

livestatus.antivirus.1[].cid

string

Customer ID

GUID

livestatus.antivirus.2

array

Array of customers with red light

livestatus.antivirus.2[].exceed

integer

Number of exceeds

livestatus.antivirus.2[].cid

string

Customer ID

GUID

livestatus.smart_scan.1

array

Array of customers with yellow light

livestatus.smart_scan.1[].unsuccessful

integer

Number of unsuccessful

livestatus.smart_scan.1[].cid

string

Customer ID

GUID

livestatus.smart_scan.2

array

Array of customers with red light

livestatus.smart_scan.2[].unsuccessful

integer

Number of unsuccessful

livestatus.smart_scan.2[].cid

string

Customer ID

GUID

livestatus.behavior_monitoring.1

array

Array of customers with yellow light

livestatus.behavior_monitoring.1[].exceed

integer

Number of exceeds

livestatus.behavior_monitoring.1[].cid

string

Customer ID

GUID

livestatus.behavior_monitoring.2

array

Array of customers with red light

livestatus.behavior_monitoring.2[].exceed

integer

Number of exceeds

livestatus.behavior_monitoring.2[].cid

string

Customer ID

GUID

livestatus.url_filtering.1

array

Array of customers with yellow light

livestatus.url_filtering.1[].exceed

integer

Number of exceeds

livestatus.url_filtering.1[].cid

string

Customer ID

GUID

livestatus.url_filtering.2

array

Array of customers with red light

livestatus.url_filtering.2[].exceed

integer

Number of exceeds

livestatus.url_filtering.2[].cid

string

Customer ID

GUID

livestatus.antispyware.1

array

Array of customers with yellow light

livestatus.antispyware.1[].exceed

integer

Number of exceeds

livestatus.antispyware.1[].cid

string

Customer ID

GUID

livestatus.antispyware.2

array

Array of customers with red light

livestatus.antispyware.2[].exceed

integer

Number of exceeds

livestatus.antispyware.2[].cid

string

Customer ID

GUID

livestatus.outbreak.1

array

Array of customers with yellow light

livestatus.outbreak.1[].threat

string

Threat name

livestatus.outbreak.1[].cid

string

Customer ID

GUID

livestatus.outbreak.2

array

Array of customers with red light

livestatus.outbreak.2[].threat

string

Threat name

livestatus.outbreak.2[].cid

string

Customer ID

GUID

livestatus.network_virus.1

array

Array of customers with yellow light

livestatus.network_virus.1[].exceed

integer

Number of exceeds

livestatus.network_virus.1[].cid

string

Customer ID

GUID

livestatus.network_virus.2

array

Array of customers with red light

livestatus.network_virus.2[].exceed

integer

Number of exceeds

livestatus.network_virus.2[].cid

string

Customer ID

GUID

livestatus.device_control.1

array

Array of customers with yellow light

livestatus.device_control.1[].exceed

integer

Number of exceeds

livestatus.network_virus.1[].cid

string

Customer ID

GUID