最近更新时间:2024.04.01 18:01:10
首次发布时间:2023.10.16 10:38:47
此接口用于查询点播媒资存储流量用量。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共请求参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeVideoStreamOutData | 接口名称。当前 API 的名称为 DescribeVideoStreamOutData 。 |
Version | String | 是 | 2023-07-01 | 接口版本。当前 API 的版本为 2023-07-01 。 |
StartTime | String | 否 |
| 查询的起始时间,默认 24 小时前。 说明 开始时间最早不早于当前时间的 366 天。 |
EndTime | String | 否 |
| 查询的结束时间,默认当前时间。 说明 单次查询的时间跨度不可超过 93 天。 |
SpaceNames | String | 否 | test | 点播空间名称,默认查询所有空间。如果有多个用逗号 , 连接。 |
Interval | String | 否 |
| 聚合的时间粒度。单位为秒。取值如下:
|
Regions | String | 否 | cn-north-1 | 区域。如果有多个用逗号 , 连接。 |
TrafficType | String | 否 |
| 流量类型。取值如下:
说明 获取点播媒资流出流量,需要申请白名单,如果有需要,请联系我们开通。
|
下表仅列出本接口特有的返回参数。更多信息请见公共返回参数。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Total | Integer | 39937397646 | 存储流量总数,单位为字节。 |
Detail | Array of Detail | - | 存储流量详细数据。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
TimeStamp | String | 2022-12-06T00:00:00+08:00 | 时间。 |
Value | Integer | 915 | 流量,单位为字节。 |
GET https://vod.volcengineapi.com?Action=DescribeVideoStreamOutData&Version=2023-07-01&StartTime=2023-01-01T16:00:00Z&EndTime=2023-01-02T16:00:00Z&SpaceNames=test&Interval=86400&Regions=cn-north-1&TrafficType=archive
HTTP/1.1 200 OK Content-Length: 190 Content-Type: application/json { "ResponseMetadata": { "RequestId": "202306041104200100100232280022D31", "Action": "DescribeVideoStreamOutData", "Version": "2023-07-01", "Service": "vod", "Region": "cn-north-1" }, "Result": { "Total": 39937397646, "Detail": [ { "TimeStamp": "2022-12-06T00:00:00+08:00", "Value": 915 } ] } }
本接口无特有的错误码。更多信息请见公共错误码。