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