Querying the Traffic of a Specified EIP
Function
Querying the Traffic of a Specified EIP
Debugging
You can use API Explorer to debug this API.
URI
GET /v1/{project_id}/antiddos/{floating_ip_id}/daily
|
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 |
|
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
|
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
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
Array of DailyData objects |
Traffic in the last 24 hours |
|
Parameter |
Type |
Description |
|---|---|---|
|
period_start |
Long |
Start time |
|
bps_in |
Integer |
Inbound traffic (bit/s) |
|
bps_attack |
Long |
Attack traffic (bit/s) |
|
total_bps |
Long |
Total traffic |
|
pps_in |
Long |
Inbound packet rate (number of packets per second) |
|
pps_attack |
Long |
Attack packet rate (number of packets per second) |
|
total_pps |
Long |
Total packet rate |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
Error Codes
See Error Codes.
Last Article: Updating Anti-DDoS Defense Policies
Next Article: Querying Events of a Specified EIP
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.