Queries the traffic information for a specified asset.
This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| AssetIP |
string |
Yes |
The IP address of the asset. |
192.0.XX.XX |
| TrafficTime |
string |
Yes |
The time to query. This is a UNIX timestamp. Unit: seconds. |
1656923760 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
F0F82705-CFC7-5F83-86C8-A063892F**** |
| StartTime |
integer |
The start of the time range to query. This is a UNIX timestamp. Unit: seconds. |
1656837360 |
| EndTime |
integer |
The end of the time range to query. This is a UNIX timestamp. Unit: seconds. |
1656923760 |
| InBps |
integer |
The inbound network throughput rate. Unit: bps. |
4520 |
| OutBps |
integer |
The outbound network throughput rate. Unit: bps. |
4180 |
| InPps |
integer |
The inbound network packet rate. Unit: pps. |
233 |
| OutPps |
integer |
The outbound network packet rate. Unit: pps. |
224 |
| SessionCount |
integer |
The number of requests. |
50 |
| NewConn |
integer |
The number of new connections. |
43 |
Examples
Success response
JSON format
{
"RequestId": "F0F82705-CFC7-5F83-86C8-A063892F****",
"StartTime": 1656837360,
"EndTime": 1656923760,
"InBps": 4520,
"OutBps": 4180,
"InPps": 233,
"OutPps": 224,
"SessionCount": 50,
"NewConn": 43
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.