DescribeDownloadSpeed

1. 接口描述

本接口(DescribeDownloadSpeed)用于查询cdn下载速度。

2. 请求参数

以下请求参数列表仅列出了接口中需要的请求参数

3. 响应结果

4. 代码示例

  1. 查询cdn下载速度。

POST / HTTP/1.1
Host: console.zenlayer.com/api/v2/cdn
Content-Type: application/json
X-TC-Action: DescribeDownloadSpeed
<Common Request Params>

Request:
{
    "startTime": "2022-09-21T11:30:00Z",
    "endTime": "2022-09-21T14:25:00Z"
}

Response:
{
  "requestId": "T6883FCD0-3E7D-44EA-A517-A421A52A27F4",
  "response": {
    "requestId": "T6883FCD0-3E7D-44EA-A517-A421A52A27F4",
    "dataSet": [{
      "time": "2022-09-21T11:30:00Z",
      "value": 199844.96
    },
    {
      "time": "2022-09-21T14:25:00Z",
      "value": 167393.94
    }]
  }
}

5. 错误码

下面包含业务逻辑中遇到的错误码,其他错误码见公共错误码

最后更新于