最近更新时间:2024.04.01 18:01:10
首次发布时间:2023.10.16 10:38:47
此接口用于查询指定时间范围内视频剪辑功能的用量。
请求地址:https://vod.volcengineapi.com?Action=DescribeVodSpaceEditStatisData&Version=2023-07-01
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共请求参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeVodSpaceEditStatisData | 接口名称。当前 API 的名称为 DescribeVodSpaceEditStatisData 。 |
Version | String | 是 | 2023-07-01 | 接口版本。当前 API 的版本为 2023-07-01 。 |
SpaceList | String | 否 |
| 点播空间名列表。多个空间名之间用 说明 如果是 POST 请求,此参数类型为 Array of String。 |
StartTime | String | 是 |
| 查询的起始时间。日期格式要求符合 RFC3339 规范。 说明 开始时间最早不早于当前时间的 366 天。 |
EndTime | String | 是 |
| 查询的结束时间。日期格式要求符合 RFC3339 规范。 说明 单次查询的时间跨度不可超过 93 天。 |
Specification | String | 否 |
| 封装格式。取值如下:
|
Aggregation | Long | 否 |
| 聚合的时间粒度。单位为秒。取值如下:
|
DetailFieldList | String | 否 |
| 详细字段列表。取值为 说明
|
下表仅列出本接口特有的返回参数。更多信息请见公共返回参数。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
SpaceList | Array of String | ["test1","test2"] | 点播空间名列表。 |
StartTime | String | 2022-04-18T20:00:00Z | 查询的起始时间。日期格式要求符合 RFC3339 规范。例如:2022-04-18T20:00:00Z 。 |
EndTime | String | 2022-04-18T22:00:00Z | 查询的结束时间。日期格式要求符合 RFC3339 规范。例如:2022-04-18T22:00:00Z 。 查询时间不超过 93 天。 |
Specification | String |
| 封装格式。取值如下:
|
Aggregation | Integer |
| 聚合的时间粒度。单位为秒。取值如下:
|
DetailFieldList | Array of String | ["Space"] | 详细字段列表。根据查询条件返回更详细的数据。取值为 Space :空间。 |
TotalEditUsageData | Integer | 100 | 所选时间段的视频剪辑总用量,单位为毫秒。 |
TotalEditUsageDataList | Array of TotalEditUsageDataList | - | 各种分辨率的用量。 |
EditUsageDataDetailList | Array of EditUsageDataDetailList | - | 视频剪辑用量具体数据。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Name | String |
| 名称。取值如下:
|
Duration | Integer | 10 | 时长,单位为毫秒。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Space | String | test | 点播空间名称。 |
Total | Integer | 10 | 用量,单位为毫秒。 |
EditUsageDataList | Array of EditUsageDataList | - | 视频剪辑用量的具体数据。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Time | String | 2022-04-18T20:00:00Z | 时间。日期格式要求符合 RFC3339 规范。例如:2022-04-18T20:00:00Z 。 |
EditUsageItemList | Array of EditUsageItemList | - | 各种分辨率的用量。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Name | String |
| 分辨率。取值如下:
|
Duration | Integer | 10 | 时长,单位为毫秒。 |
https://vod.volcengineapi.com?Action=DescribeVodSpaceEditStatisData&Version=2023-07-01&SpaceList=["test1","test2"]&StartTime=2022-04-18T20:00:00Z&EndTime=2022-04-18T22:00:00Z&Specification=&Aggregation=&DetailFieldList=["Space"]
HTTP/1.1 200 OK Content-Length: 190 Content-Type: application/json { "ResponseMetadata":{ "RequestId": "201806041104***100232280022D30", "Action": "DescribeVodSpaceEditStatisData", "Version": "2023-07-01", "Service": "vod", "Region": "cn-north-1" }, "Result":{ "SpaceList": ["test1", "test2"], "StartTime": "2022-04-18T20:00:00Z", "EndTime": "2022-04-18T22:00:00Z", "DetailFieldList": ["Space"], "Aggregation": 3600, "TotalEditUsageData": 100, "TotalEditUsageDataList": [ { "Name": "H.264_4k", "Duration": 10 } ], "EditUsageDataDetailList": [ { "TaskStage": "test1", "Total": 40, "EditUsageDataList": [ { "Time": "2022-04-18T20:00:00Z", "EditUsageItemList": [ { "Name": "H.264_4k", "Duration": 10 }, { "Name": "H.265_4k", "Duration": 10 } ] }, { "Time": "2022-04-18T21:00:00Z", "EditUsageItemList": [ { "Name": "H.264_4k", "Duration": 10 }, { "Name": "H.265_4k", "Duration": 10 } ] } ] }, { "TaskStage": "test2", "Total": 10, "EditUsageDataList": [ { "Time": "2022-04-18T20:00:00Z", "EditUsageItemList": [ { "Name": "H.264_4k", "Duration": 10 } ] } ] } ] } }
本接口无特有的错误码。更多信息请见公共错误码。