DescribeLiveDomainPushTrafficData
Queries the push traffic monitoring data of an ingest domain by calling DescribeLiveDomainPushTrafficData.
Operation description
The unit of the traffic monitoring data is bytes.
Batch domain name queries are supported. Separate multiple domain names with commas (,).
If you do not specify StartTime or EndTime, data of the last 24 hours is returned by default. You can also query data for a specific time range by specifying both StartTime and EndTime.
You can query data of the last 90 days.
QPS limit
The QPS limit for a single user on this operation is 100 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveDomainPushTrafficData |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
No |
The ingest domain. Batch domain name queries are supported. Separate multiple domain names with commas (,). If this parameter is left empty, the merged data of all ingest domains is returned by default. |
demo.aliyundoc.com |
| StartTime |
string |
No |
The start time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC). If you do not specify this parameter, data of the last 24 hours is returned by default. |
2017-12-10T20:00:00Z |
| EndTime |
string |
No |
The end time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2017-12-10T21:00:00Z |
| Interval |
string |
No |
The time granularity of the queried data. Unit: seconds. Valid values:
If you do not specify this parameter or the specified value is not supported, the default value 300 is used. |
300 |
| IspNameEn |
string |
No |
The name of the Internet service provider (ISP) in English. You can call the DescribeCdnRegionAndIsp operation to obtain ISP names. If you do not specify this parameter, data of all ISPs is returned. |
alibaba |
| LocationNameEn |
string |
No |
The name of the region in English. You can call the DescribeCdnRegionAndIsp operation to obtain region names. If you do not specify this parameter, data of all regions is returned. |
tianjin |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EndTime |
string |
The end time. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2017-12-10T21:00:00Z |
| StartTime |
string |
The start time. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2017-12-10T20:00:00Z |
| RequestId |
string |
The request ID. |
3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F |
| DomainName |
string |
The ingest domain. |
demo.aliyundoc.com |
| DataInterval |
string |
The data time granularity. |
300 |
| TrafficDataPerInterval |
object |
||
| DataModule |
array<object> |
The traffic data for each time interval. |
|
|
object |
The traffic data time granularity. |
||
| TrafficValue |
string |
The traffic. Unit: byte. |
1288111 |
| TimeStamp |
string |
The start of the time interval. |
2017-12-10T20:05:00Z |
Examples
Success response
JSON format
{
"EndTime": "2017-12-10T21:00:00Z",
"StartTime": "2017-12-10T20:00:00Z",
"RequestId": "3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F",
"DomainName": "demo.aliyundoc.com",
"DataInterval": "300",
"TrafficDataPerInterval": {
"DataModule": [
{
"TrafficValue": "1288111",
"TimeStamp": "2017-12-10T20:05:00Z"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | Specified StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | Specified EndTime is malformed. | |
| 400 | InvalidEndTime.Mismatch | Specified end time does not math the specified start time. | The end time does not match the start time. Make sure that the start and end times match. |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | The value specified for the StartTime parameter is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.