Help Center> Anti-DDoS> API Reference> API> Anti-DDoS Controller> Querying Optional Anti-DDoS Defense Policies

Querying Optional Anti-DDoS Defense Policies

Function

Querying Optional Anti-DDoS Defense Policies

Debugging

You can use API Explorer to debug this API.

URI

GET /v2/{project_id}/antiddos/query-config-list

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

poject id

Minimum: 32

Maximum: 64

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

token

Minimum: 32

Maximum: 2097152

Content-Type

Yes

String

Default: application/json;charset=utf8

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

traffic_limited_list

Array of TriggerBpsDict objects

List of traffic limits

http_limited_list

Array of TriggerQpsDict objects

List of HTTP limits

connection_limited_list

Array of CleanLimitDict objects

List of limits of numbers of connections

extend_ddos_config

Array of ExtendDDoSSet objects

List of extend ddos limits

Table 4 TriggerBpsDict

Parameter

Type

Description

traffic_pos_id

Long

Position ID of traffic

traffic_per_second

Long

Threshold of traffic per second (Mbit/s)

packet_per_second

Long

Threshold of number of packets per second

Table 5 TriggerQpsDict

Parameter

Type

Description

http_request_pos_id

Long

Position ID of number of HTTP requests

http_packet_per_second

Long

Threshold of number of HTTP requests per second

Table 6 CleanLimitDict

Parameter

Type

Description

cleaning_access_pos_id

Long

Position ID of access limit during cleaning

new_connection_limited

Long

Number of new connections of a source IP address

total_connection_limited

Long

Total number of connections of a source IP address

Table 7 ExtendDDoSSet

Parameter

Type

Description

SetID

Long

Position ID of config

new_connection_limited

Long

List of limits of numbers of connections

total_connection_limited

Long

List of limits of numbers of total connections

http_packet_per_second

Long

Threshold of number of HTTP requests per second

traffic_per_second

Long

Threshold of traffic per second (Mbit/s)

packet_per_second

Long

Threshold of number of packets per second

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.