Querying the Traffic of a Specified EIP
Functions
This API allows you to query the traffic of a specified EIP in the last 24 hours. Traffic is detected in five-minute intervals.
URI
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
ip |
No |
String |
EIP of a user |
Response
- Parameter description
Name
Type
Description
data
Data structure
Traffic in the last 24 hours
- Data structure description of data
Parameter
Type
Description
period_start
Long integer
Start time
bps_in
Integer
Inbound traffic (bit/s)
bps_attack
Integer
Attack traffic (bit/s)
total_bps
Integer
Total traffic
pps_in
Integer
Inbound packet rate (number of packets per second)
pps_attack
Integer
Attack packet rate (number of packets per second)
total_pps
Integer
Total packet rate
Example
- Example request
GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/1df977c2-fdc6-4483-bc1c-ba46829f57b8/daily
- Example response
{ "data": [ { "period_start": 1606188642720, "bps_in": 0, "bps_attack": 0, "total_bps": 0, "pps_in": 0, "pps_attack": 0, "total_pps": 0 } ] }
Status Code
See Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot