Updated on 2022-08-09 GMT+08:00

Querying Statistics on WAF Dashboard

Function

Querying Statistics on WAF Dashboard

URI

GET /v1/{project_id}/waf/overviews/statistics

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

Table 2 Query parameters

Parameter

Mandatory

Type

Description

from

Yes

Long

Start time

to

Yes

Long

End time

hosts

No

String

List of the domain names to query

instances

No

String

List of instances to query

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Tenant token

Content-Type

Yes

String

Content type

Default: application/json;charset=utf8

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

[items]

Array of CountItem objects

Security statistics

Table 5 CountItem

Parameter

Type

Description

key

String

Type

num

Integer

Quantity

Status code: 400

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error code message

Status code: 401

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error code message

Status code: 500

Table 8 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error code message

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Succeeded.

400

Request failed.

401

The token does not have required permissions.

500

Internal server error.

Error Codes

See Error Codes.