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

Querying Configured Anti-DDoSAnti-DDoS Defense Policies

Function

Querying Configured Anti-DDoSAnti-DDoS Defense Policies

Debugging

You can use API Explorer to debug this API.

URI

GET /v1/{project_id}/antiddos/{floating_ip_id}/status

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

poject id

Minimum: 32

Maximum: 64

floating_ip_id

Yes

String

ID corresponding to the EIP of a user

Table 2 Query parameters

Parameter

Mandatory

Type

Description

ip

No

String

IP address. Both IPv4 and IPv6 addresses are supported. For example, if you enter ?ip=192.168, the defense status of EIPs corresponding to 192.168.111.1 and 10.192.168.8 is returned.

Request Parameters

Table 3 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 4 Response body parameters

Parameter

Type

Description

status

String

Ddos status

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.