调用DescribeRequestGraph获取请求量详情。

  • 查询时间段差大于7天,按照维度:天统计返回数据。
  • 查询时间段差小于等于7天,按照维度:小时统计返回数据。

调试

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

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeRequestGraph

系统规定参数。取值:DescribeRequestGraph

EndTimestamp Long 1571673600000

结束时间戳,以毫秒计

StartTimestamp Long 1571587200000

开始时间戳,以毫秒计

Lang String en

语言

UserClientIp String 127.0.0.1

用户Ip

ZoneId String 29c752a01cd281a20ddcfaecef

zone ID

VpcId String vpc-1111

VPC ID

返回数据

名称 类型 示例值 描述
RequestDetails Array

详情

ZoneRequestTop
RequestCount Long 103

请求量

Time String 2019-10-21T10:00Z

统计时间(字符串)。

Timestamp Long 1571652000000

统计时间戳(以毫秒计)。

RequestId String EB71815-A421-4E51-8E8D-667F44ABE633

请求 ID

示例

请求示例

http(s)://pvtz.aliyuncs.com/?Action=DescribeRequestGraph
&EndTimestamp=1571673600000
&StartTimestamp=1571587200000
&<公共请求参数>

正常返回示例

XML 格式

<DescribeRequestGraphResponse>
      <RequestDetails>
            <ZoneRequestTop>      <Time>2019-10-25T16:00Z</Time>      <RequestCount>97</RequestCount>      <Timestamp>1572019200000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-25T17:00Z</Time>      <RequestCount>93</RequestCount>      <Timestamp>1572022800000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-25T18:00Z</Time>      <RequestCount>98</RequestCount>      <Timestamp>1572026400000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T15:00Z</Time>      <RequestCount>95</RequestCount>      <Timestamp>1572188400000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T16:00Z</Time>      <RequestCount>90</RequestCount>      <Timestamp>1572192000000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T17:00Z</Time>      <RequestCount>89</RequestCount>      <Timestamp>1572195600000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T18:00Z</Time>      <RequestCount>93</RequestCount>      <Timestamp>1572199200000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T19:00Z</Time>      <RequestCount>97</RequestCount>      <Timestamp>1572202800000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T20:00Z</Time>      <RequestCount>94</RequestCount>      <Timestamp>1572206400000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T21:00Z</Time>      <RequestCount>90</RequestCount>      <Timestamp>1572210000000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T22:00Z</Time>      <RequestCount>87</RequestCount>      <Timestamp>1572213600000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-27T23:00Z</Time>      <RequestCount>88</RequestCount>      <Timestamp>1572217200000</Timestamp>    </ZoneRequestTop>
            <ZoneRequestTop>      <Time>2019-10-28T00:00Z</Time>      <RequestCount>94</RequestCount>      <Timestamp>1572220800000</Timestamp>    </ZoneRequestTop>
      </RequestDetails>
      <RequestId>041B0CBF-3D5F-4AAB-ABDE-420817341522</RequestId>
</DescribeRequestGraphResponse>

JSON 格式

{
  "RequestDetails": {
    "ZoneRequestTop": [
      {
        "Time": "2019-10-20T16:00Z",
        "RequestCount": 96,
        "Timestamp": 1571587200000
      },
      {
        "Time": "2019-10-20T17:00Z",
        "RequestCount": 98,
        "Timestamp": 1571590800000
      },
      {
        "Time": "2019-10-20T18:00Z",
        "RequestCount": 98,
        "Timestamp": 1571594400000
      },
      {
        "Time": "2019-10-20T19:00Z",
        "RequestCount": 93,
        "Timestamp": 1571598000000
      },
      {
        "Time": "2019-10-20T20:00Z",
        "RequestCount": 87,
        "Timestamp": 1571601600000
      },
      {
        "Time": "2019-10-20T21:00Z",
        "RequestCount": 95,
        "Timestamp": 1571605200000
      },
      {
        "Time": "2019-10-20T22:00Z",
        "RequestCount": 104,
        "Timestamp": 1571608800000
      },
      {
        "Time": "2019-10-20T23:00Z",
        "RequestCount": 99,
        "Timestamp": 1571612400000
      },
      {
        "Time": "2019-10-21T00:00Z",
        "RequestCount": 88,
        "Timestamp": 1571616000000
      },
      {
        "Time": "2019-10-21T01:00Z",
        "RequestCount": 84,
        "Timestamp": 1571619600000
      },
      {
        "Time": "2019-10-21T02:00Z",
        "RequestCount": 101,
        "Timestamp": 1571623200000
      },
      {
        "Time": "2019-10-21T03:00Z",
        "RequestCount": 95,
        "Timestamp": 1571626800000
      },
      {
        "Time": "2019-10-21T04:00Z",
        "RequestCount": 94,
        "Timestamp": 1571630400000
      },
      {
        "Time": "2019-10-21T05:00Z",
        "RequestCount": 99,
        "Timestamp": 1571634000000
      },
      {
        "Time": "2019-10-21T06:00Z",
        "RequestCount": 86,
        "Timestamp": 1571637600000
      },
      {
        "Time": "2019-10-21T07:00Z",
        "RequestCount": 88,
        "Timestamp": 1571641200000
      },
      {
        "Time": "2019-10-21T08:00Z",
        "RequestCount": 94,
        "Timestamp": 1571644800000
      },
      {
        "Time": "2019-10-21T09:00Z",
        "RequestCount": 98,
        "Timestamp": 1571648400000
      },
      {
        "Time": "2019-10-21T10:00Z",
        "RequestCount": 103,
        "Timestamp": 1571652000000
      },
      {
        "Time": "2019-10-21T11:00Z",
        "RequestCount": 84,
        "Timestamp": 1571655600000
      },
      {
        "Time": "2019-10-21T12:00Z",
        "RequestCount": 89,
        "Timestamp": 1571659200000
      },
      {
        "Time": "2019-10-21T13:00Z",
        "RequestCount": 98,
        "Timestamp": 1571662800000
      },
      {
        "Time": "2019-10-21T14:00Z",
        "RequestCount": 89,
        "Timestamp": 1571666400000
      },
      {
        "Time": "2019-10-21T15:00Z",
        "RequestCount": 94,
        "Timestamp": 1571670000000
      }
    ]
  },
  "RequestId": "1EB71815-A421-4E51-8E8D-667F44ABE633"
}

错误码

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