All Products
Search
Document Center

ApsaraVideo VOD:DescribeVodDomainRealTimeDetailData

Last Updated:Dec 19, 2024

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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.
OperationAccess levelResource typeCondition keyAssociated operation
vod:DescribeVodDomainRealTimeDetailDataget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringYes

The accelerated domain name. You can specify a maximum of 20 accelerated domain names in each call. Separate domain names with commas (,).

example.com
StartTimestringYes

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
EndTimestringYes

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
FieldstringYes

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
LocationNameEnstringNo

The name of the region. If you do not specify a region, data in all regions is queried.

shanghai
IspNameEnstringNo

The name of the Internet service provider (ISP).

unicom
MergestringNo

Specifies whether to return a summary value. Valid values:

true false (default)

false
MergeLocIspstringNo

Specifies whether to return a summary value. Valid values:

  • true: groups the results by domain name and merges the results by region and ISP.
  • false: groups the results by domain name.

Default value: false.

true

Response parameters

ParameterTypeDescriptionExample
object
Datastring

The returned results.

[ { "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 } ]
RequestIdstring

The ID of the request.

1710298E-8AFA-5F6D-A3E9-47103C52177D

Examples

Sample success responses

JSONformat

{
  "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.