Queries real-time access data for accelerated domain names, including QPS, bandwidth, and HTTP status code data within the last 7 days.
Operation description
Currently, this operation is available only in the China (Shanghai) region.
Batch queries are supported. You can query data for up to 20 domain names at a time.
The maximum time range per query (the time range between StartTime and EndTime) is 10 minutes, and data is returned at a time granularity of 1 minute.
Only data within the last 7 days can be queried.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainRealTimeDetailData |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name to query.
|
example.com |
| StartTime |
string |
Yes |
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2019-01-23T12:35:12Z |
| EndTime |
string |
Yes |
The end of the time range to 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, and the difference between the end time and the start time cannot exceed 10 minutes. |
2019-01-23T12:40:00Z |
| Field |
string |
Yes |
The type of access data to query. You can specify multiple types. Separate multiple types with commas (,). Valid values:
|
qps |
| LocationNameEn |
string |
No |
The region name in English. If you do not specify this parameter, data for all regions is queried by default. |
shanghai |
| IspNameEn |
string |
No |
The Internet service provider (ISP) name in English. If you do not specify this parameter, data for all ISPs is queried by default. |
unicom |
| Merge |
string |
No |
Specifies whether to return aggregated data by domain name. Valid values:
|
false |
| MergeLocIsp |
string |
No |
Specifies whether to return aggregated data by region and ISP. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
||||||||||||||||||||||||
|
object |
|||||||||||||||||||||||||||
| Data |
string |
The returned data details. The data is returned as a JSON string. The following table describes the structure and fields: Note
If no data exists for a field, the field is not returned.
|
[ { "time_stp": "2018-06-05T20:00:00Z", "domain_name": "example.com", "location": "Guangdong", "isp": "telecom", "qps": 10 }, { "time_stp": "2018-06-05T20:00:00Z", "domain_name": "example.com", "location": "Jiangsu", "isp": "unicom", "qps": 11.1 } ] |
||||||||||||||||||||||||
| RequestId |
string |
The request ID. |
1710298E-8AFA-5F6D-A3E9-47103C52177D |
Examples
Success response
JSON format
{
"Data": "[\n {\n \"time_stp\": \"2018-06-05T20:00:00Z\",\n \"domain_name\": \"example.com\",\n \"location\": \"Guangdong\",\n \"isp\": \"telecom\",\n \"qps\": 10\n },\n {\n \"time_stp\": \"2018-06-05T20:00:00Z\",\n \"domain_name\": \"example.com\",\n \"location\": \"Jiangsu\",\n \"isp\": \"unicom\",\n \"qps\": 11.1\n }\n]",
"RequestId": "1710298E-8AFA-5F6D-A3E9-47103C52177D"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTime.Malformed | Specified StartTime or EndTime is malformed. | |
| 400 | InvalidDomainName.Malformed | Specified domain name is malformed. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.