调用DescribeDohSubDomainStatistics获取DoH子域名请求量统计
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeDohSubDomainStatistics | 系统规定参数。取值:DescribeDohSubDomainStatistics。 |
EndDate | String | 是 | 2019-07-04 | 查询的结束时间,格式:YYYY-MM-DD。 默认为查询当天的时间。 |
StartDate | String | 是 | 2019-07-04 | 查询的开始时间,格式:YYYY-MM-DD。 只能查询最近90天的记录,即: |
SubDomain | String | 是 | www.example.com | 要查看统计数据的子域名 |
Lang | String | 否 | en | 语言 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 0F32959D-417B-4D66-8463-68606605E3E2 | 唯一请求识别码 |
Statistics | Array of Statistic | 统计数据列表 |
|
Timestamp | Long | 1544976000000 | 时间戳 |
TotalCount | Long | 3141592653 | 请求总量 |
V4HttpCount | Long | 3141592653 | IPv4 HTTP 请求量 |
V4HttpsCount | Long | 3141592653 | IPv4 HTTPS 请求量 |
V6HttpCount | Long | 3141592653 | IPv6 HTTP 请求量 |
V6HttpsCount | Long | 3141592653 | IPv6 HTTPS 请求量 |
示例
请求示例
http(s)://alidns.aliyuncs.com/?Action=DescribeDohSubDomainStatistics
&EndDate=2019-07-04
&StartDate=2019-07-04
&SubDomain=www.example.com
&<公共请求参数>
正常返回示例
XML
格式
<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>
<Statistics>
<TotalCount>3141592653</TotalCount>
<V4HttpCount>3141592653</V4HttpCount>
<V6HttpCount>3141592653</V6HttpCount>
<Timestamp>1544976000000</Timestamp>
<V4HttpsCount>3141592653</V4HttpsCount>
<V6HttpsCount>3141592653</V6HttpsCount>
</Statistics>
JSON
格式
{
"RequestId": "0F32959D-417B-4D66-8463-68606605E3E2",
"Statistics": [{
"TotalCount": "3141592653",
"V4HttpCount": "3141592653",
"V6HttpCount": "3141592653",
"Timestamp": "1544976000000",
"V4HttpsCount": "3141592653",
"V6HttpsCount": "3141592653"
}]
}
错误码
访问错误中心查看更多错误码。
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交