文档

DescribeVsDomainRegionData - 获取域名区域数据

更新时间:

获取域名区域数据。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
DomainNamestring

视图计算域名名称

example.aliyundoc.com
StartTimestring

获取数据起始时间点,日期格式按照 ISO8601 表示法,并使用 UTC 时间。
格式为:YYYY-MM-DDThh:mm:ssZ
最小数据粒度为 5 分钟
不写默认读取过去 24 小时数据

2021-10-30T16:00:00Z
EndTimestring

结束时间需大于起始时间;获日期格式按照 ISO8601 表示法,并使用 UTC 时间。
格式为:YYYY-MM-DDThh:mm:ssZ

2021-10-31T15:59:59Z

返回参数

名称类型描述示例值
object
EndTimestring

结束时间

2021-10-31T15:59:59Z
StartTimestring

开始时间

2021-10-30T16:00:00Z
RequestIdstring

请求 ID

BEA5625F-8FCF-48F4-851B-CA63946DA664
DomainNamestring

视图计算域名名称

example.aliyundoc.com
DataIntervalstring

时间间隔。

3600
Valueobject []

数据。

TotalQuerystring

总请求次数

3
TotalBytesstring

总流量

2400057
AvgResponseRatestring

平均响应速度,单位:byte/秒

154.3345765545624
AvgResponseTimestring

平均响应时间,单位:毫秒。

5183.666666666667
ReqErrRatestring

请求错误率,例如返回 90 即为 90%。

0
AvgObjectSizestring

响应平均大小。单位:byte。

2888253.7875
Bpsstring

带宽。

380.9614285714286
Qpsstring

每秒查询率。

0.001746031746031746
RegionEnamestring

地区英文名称。

chongqing
Regionstring

地区信息。

重庆市
Proportionstring

访问占比数据。例如:返回 90 即为 90% 。

0.01155980271270037
BytesProportionstring

总流量占比,例如返回 90 即为 90%。

0.003544181046236794

示例

正常返回示例

JSON格式

{
  "EndTime": "2021-10-31T15:59:59Z",
  "StartTime": "2021-10-30T16:00:00Z",
  "RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
  "DomainName": "example.aliyundoc.com",
  "DataInterval": "3600",
  "Value": {
    "RegionProportionData": [
      {
        "TotalQuery": "3",
        "TotalBytes": "2400057",
        "AvgResponseRate": "154.3345765545624",
        "AvgResponseTime": "5183.666666666667",
        "ReqErrRate": "0",
        "AvgObjectSize": "2888253.7875",
        "Bps": "380.9614285714286",
        "Qps": "0.001746031746031746",
        "RegionEname": "chongqing",
        "Region": "重庆市",
        "Proportion": "0.01155980271270037",
        "BytesProportion": "0.003544181046236794"
      }
    ]
  }
}

错误码

HTTP status code错误码错误信息描述
400InvalidStartTime.MalformedThe format of the specified StartTime is invalid.开始时间格式不对
400InvalidEndTime.MalformedThe format of the specified EndTime is invalid.截止时间格式不对
400InvalidEndTime.MismatchThe specified EndTime is earlier than the StartTime.结束时间早于开始时间,请检查
400InvalidStartTime.ValueNotSupportedThe specified StartTime is invalid.不支持该开始时间

访问错误中心查看更多错误码。

  • 本页导读 (0)
文档反馈