DescribeDomainHitRateData_内容分发_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

  • You can call this operation up to 100 times per second per account.
  • If you do not set the StartTime or EndTime parameter, the request returns the data collected in the last 24 hours. If you set both these parameters, the request returns the data collected within the specified time range.

Time granularity

The time granularity supported by the Interval parameter, the maximum time period within which historical data is available, and the data delay vary with the maximum time range per query, as described in the following table.

Time granularityMaximum time range per queryHistorical data availableData delay
5 minutes3 days93 days15 minutes
1 hour31 days186 days4 hours
1 day366 days366 days04:00 on the next day

Quotas Info

The current API request rate is 20/1(s).View More quotas information, please go to Quota Management View

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
cdn:DescribeDomainHitRateData
None
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone

Request Parameters

Field NameField Details
DomainNamestring

The accelerated domain name. You can specify up to 500 domain names in each request. Separate multiple domain names with commas (,).View Details...

Example:example.comReference Value Source:
    AddCdnDomain
    DescribeDomainQpsData
    BatchSetCdnDomainConfig
    SetCdnDomainStagingConfig
    ListRealtimeLogDeliveryDomains
StartTimestring

The beginning of the time range to query.View Details...

Example:2019-12-30T08:00:00Z
EndTimestring

The end of the time range to query.View Details...

Example:2019-12-30T08:10:00Z
Intervalstring

The time granularity of the data entries. Unit: seconds.View Details...

Example:300

Response Parameters

Field NameField Details
EndTimestring

The end of the time range during which data was queried.

Example:2019-12-30T08:10:00Z
StartTimestring

The start of the time range during which data was queried.

Example:2019-12-30T08:00:00Z
RequestIdstring

The ID of the request.

Example:16A96B9A-F203-4EC5-8E43-CB92E68F4CD8
DomainNamestring

The accelerated domain name.

Example:example.com
DataIntervalstring

The time interval between the data entries returned. Unit: seconds.

Example:300
HitRateIntervalobject

Sample Response

Sample Error Response

Error Codes

Global Error Codes
HTTP Status CodeError CodesError MessageActions
400
MissingTimeParameter
The StartTime and EndTime must be both specified.Diagnose
400
InvalidStartTime.Malformed
The specified value of parameter StartTime is malformed.Diagnose
400
InvalidEndTime.Malformed
The specified value of parameter EndTime is malformed.Diagnose
400
InvalidEndTime.Mismatch
Specified EndTime does not match the specified StartTime.Diagnose
400
InvalidStartTime.ValueNotSupported
The specified value of parameter StartTime is not supported.Diagnose

Change History

Change timeChange content summaryoperation
2023-06-13
changeError code 400

Examples