Queries for statistics on DNS over HTTPS (DoH) requests for a subdomain.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeDohSubDomainStatistics |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
en |
| SubDomain |
string |
Yes |
The subdomain for which to query statistics. |
www.example.com |
| StartDate |
string |
No |
The start date of the query in YYYY-MM-DD format. You can query data from the last 90 days. The |
2019-07-04 |
| EndDate |
string |
No |
The end date of the query in YYYY-MM-DD format. The default value is the current date. |
2019-07-04 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
0F32959D-417B-4D66-8463-68606605E3E2 |
| Statistics |
array<object> |
A list of statistics. |
|
|
object |
|||
| V6HttpCount |
integer |
The number of IPv6 HTTP requests. |
3141592653 |
| V4HttpsCount |
integer |
The number of IPv4 HTTPS requests. |
3141592653 |
| Timestamp |
integer |
The timestamp of the statistical data, in milliseconds. |
1544976000000 |
| TotalCount |
integer |
The total number of requests. |
3141592653 |
| V4HttpCount |
integer |
The number of IPv4 HTTP requests. |
3141592653 |
| V6HttpsCount |
integer |
The number of IPv6 HTTPS requests. |
3141592653 |
Examples
Success response
JSON format
{
"RequestId": "0F32959D-417B-4D66-8463-68606605E3E2",
"Statistics": [
{
"V6HttpCount": 3141592653,
"V4HttpsCount": 3141592653,
"Timestamp": 1544976000000,
"TotalCount": 3141592653,
"V4HttpCount": 3141592653,
"V6HttpsCount": 3141592653
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.