DescribeLiveDomainPushBpsData
Queries the network bandwidth monitoring data for stream ingest on an ingest domain by calling DescribeLiveDomainPushBpsData.
Operation description
The bandwidth data is measured in bit/s.
Batch domain name queries are supported. Separate multiple domain names with commas (,).
If you do not specify StartTime or EndTime, data from 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 from the last 90 days.
QPS limit
The single-user QPS limit for this operation is 100 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveDomainPushBpsData |
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 beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC). If you do not specify this parameter, data from the last 24 hours is returned by default. |
2017-12-10T20:00:00Z |
| EndTime |
string |
No |
The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC). The end time must be later than the start time. |
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 for 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 for all regions is returned. |
tianjin |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EndTime |
string |
The end of the time range. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2017-12-10T21:00:00Z |
| StartTime |
string |
The beginning of the time range. 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 that was queried. |
demo.aliyundoc.com |
| DataInterval |
string |
The time granularity of the queried data. |
300 |
| BpsDataPerInterval |
object |
||
| DataModule |
array<object> |
The network bandwidth data for each time interval. |
|
|
object |
|||
| BpsValue |
string |
The bandwidth value in bit/s. |
11288111 |
| TimeStamp |
string |
The start time of the time slice. |
2017-12-10T20:00: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",
"BpsDataPerInterval": {
"DataModule": [
{
"BpsValue": "11288111",
"TimeStamp": "2017-12-10T20:00: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.