Queries the resolution requests of all paid domain names within your 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 |
---|---|---|---|---|
alidns:DescribeDomainResolveStatisticsSummary |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Keyword | string | No | The keyword. The Keyword parameter is used together with the SearchMode parameter. | test |
SearchMode | string | No | The search mode of the keyword. Valid values:
| EXACT |
Direction | string | No | The order in which you want to sort the returned entries. Valid values:
| DESC |
Threshold | long | No | The threshold for the number of Domain Name System (DNS) requests. You can query the domain names at the specified quantity level of DNS requests and query the number of DNS requests for each domain name. If you do not specify this parameter, the data about the domain names that have DNS requests is obtained. If you set this parameter to a value less than 0, the data about all domain names is obtained. If you set this parameter to 0, the data about the domain names that do not have DNS requests is obtained. If you set this parameter to a value greater than 0, the data about the domain names whose number of DNS requests is less than or equal to the value of this parameter is obtained. | -1 |
StartDate | string | Yes | The start time in the yyyy-MM-dd format, for example, 2023-03-01. | 2023-03-01 |
EndDate | string | No | The end time in the yyyy-MM-dd format, for example, 2023-03-13. | 2023-03-01 |
PageNumber | integer | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Valid values: 1 to 1000. | 10 |
Lang | string | No | The language. Valid values: zh, en, and ja. | zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
"PageSize": 10,
"PageNumber": 1,
"TotalPages": 1,
"TotalItems": 1,
"Statistics": [
{
"DomainName": "example.com",
"Count": "35509014",
"DomainType": "CACHE"
}
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | Statistics.TooManyResults | Your query has produced too many results. |
400 | Statistics.InvalidDomainName | Your query param DomainName is invalid. |
400 | Statistics.InvalidStartDate | Your query param StartDate is invalid. |
400 | Statistics.InvalidEndDate | Your query param EndDate is invalid. |
400 | Statistics.InvalidSearchMode | Your query param SearchMode is invalid. |
400 | Statistics.InvalidOrderDirection | Your query param OrderDirection is invalid. |
400 | Statistics.InvalidDomainType | Your query param DomainType is invalid. |
400 | Statistics.QuotaExceededTime | Your query time range exceeds 90 days. |
400 | Sys.ParamsError | Your query param is invalid. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-01-29 | The Error code has changed | View Change Details |