Queries the real-time access data of one or more accelerated domain names in the last seven days. The data includes queries per second (QPS), bandwidth, and HTTP status codes.
Operation description
You can query data within the last seven days. Data is collected every minute. You can call this API operation up to 10 times per second per account.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vod:DescribeVodDomainRealTimeDetailData | get | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DomainName | string | Yes | The accelerated domain name. You can specify a maximum of 20 accelerated domain names in each call. Separate domain names with commas (,). | 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. Example: 2019-11-30T05:33:00Z. | 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. Example: 2019-11-30T05:40:00Z. | 2019-01-23T12:40:00Z |
Field | string | Yes | The type of data that you want to query. You can specify multiple data types and separate them with commas (,). Valid values: qps: the number of queries per second bps: bandwidth data http_code: HTTP status codes | bps |
LocationNameEn | string | No | The name of the region. If you do not specify a region, data in all regions is queried. | shanghai |
IspNameEn | string | No | The name of the Internet service provider (ISP). | unicom |
Merge | string | No | Specifies whether to return a summary value. Valid values: true false (default) | false |
MergeLocIsp | string | No | Specifies whether to return a summary value. Valid values:
Default value: false. | true |
Response parameters
Examples
Sample success responses
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
For a list of error codes, visit the Service error codes.