Queries the 95th percentile peak bandwidth monitoring data for accelerated domain names.
Operation description
You can query data in three ways:
If you specify both StartTime and EndTime, and the difference between EndTime and StartTime is within 24 hours, the system queries the 95th percentile peak bandwidth for the day when StartTime falls. Otherwise, the system queries the 95th percentile peak bandwidth for the month when StartTime falls.
If you specify both TimePoint and Cycle, the system returns the 95th percentile peak bandwidth for the cycle to which TimePoint belongs.
If you specify StartTime and EndTime, and additionally specify Cycle, the system returns the 95th percentile peak bandwidth for all specified cycles within the query range.
If none of these three methods are specified, the system returns the 95th percentile peak bandwidth for the past 24 hours by default.
Maximum query span: 90 days.
Minimum query granularity: 1 day.
Maximum query range: 90 days.
Rate limit per user: 100 calls per second.
Data unit: bit/s.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeDomainMax95BpsData |
none |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
The accelerated domain name to query. If this parameter is left empty, the merged data of all accelerated domain names is returned by default. Note
Batch domain name queries are not supported. |
example.com |
| StartTime |
string |
No |
The start time of the query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2017-12-21T08:00:00Z |
| EndTime |
string |
No |
The end time of the query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note
The end time must be later than the start time. |
2017-12-22T08:00:00Z |
| TimePoint |
string |
No |
The start time of the data. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2017-12-21T10:00:00Z |
| Cycle |
string |
No |
The cycle of the 95th percentile peak bandwidth. Default value: day. Valid values:
Valid values:
|
month |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F |
| DomainName |
string |
The accelerated domain name information. |
example.com |
| EndTime |
string |
The end time of the retrieved data. The time is in the ISO 8601 standard and in UTC. |
2015-12-11T21:00:00Z |
| StartTime |
string |
The start time of the retrieved data. The time is in the ISO 8601 standard and in UTC. |
2015-12-10T20:00:00Z |
| DomesticMax95Bps |
string |
The 95th percentile peak bandwidth in the Chinese mainland. |
16777590.28 |
| OverseasMax95Bps |
string |
The 95th percentile peak bandwidth outside the Chinese mainland. |
0 |
| Max95Bps |
string |
The 95th percentile peak bandwidth. |
16777590.28 |
| DetailData |
object |
||
| Max95Detail |
array<object> |
The detailed data of the 95th percentile peak bandwidth. |
|
|
object |
|||
| TimeStamp |
string |
The start time of the time slice. The time is in the ISO 8601 standard and in UTC. |
2015-12-11T21:00:00Z |
| Area |
string |
The region corresponding to the 95th percentile peak bandwidth. |
CN |
| Max95BpsPeakTime |
string |
The time when the 95th percentile peak bandwidth is reached. The time is in the ISO 8601 standard and in UTC. |
2015-12-11T21:05:00Z |
| Max95Bps |
number |
The 95th percentile peak bandwidth. |
16777590.28 |
Examples
Success response
JSON format
{
"RequestId": "3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F",
"DomainName": "example.com",
"EndTime": "2015-12-11T21:00:00Z",
"StartTime": "2015-12-10T20:00:00Z",
"DomesticMax95Bps": "16777590.28",
"OverseasMax95Bps": "0",
"Max95Bps": "16777590.28",
"DetailData": {
"Max95Detail": [
{
"TimeStamp": "2015-12-11T21:00:00Z",
"Area": "CN",
"Max95BpsPeakTime": "2015-12-11T21:05:00Z",
"Max95Bps": 16777590.28
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The specified value of parameter StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | The specified value of parameter EndTime is malformed. | |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | |
| 400 | InvalidEndTime.Mismatch | Specified EndTime does not match the specified StartTime. | StartTime must be earlier than EndTime. |
| 400 | InvalidTimePoint.Malformed | Specified TimePoint is malformed. | The specified TimePoint parameter is invalid. |
| 400 | InvalidTimeSpan | The time span exceeds the limit. | The time span exceeds the limit. Configure a valid time span as described in API documentation. |
| 400 | InvalidTime.Malformed | Specified StartTime or EndTime is malformed. | The specified start or end time is invalid. |
| 404 | InvalidDomain.NotFound | The domain provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.