IMS点播用量统计查询,最大查询范围31天,最远可查90天内的数据。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ice:DescribeMeterImsSummary |
none |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| StartTs |
integer |
是 |
开始时间戳,10 位。 |
1654403036 |
| EndTs |
integer |
是 |
结束时间戳,10 位。 |
1656995036 |
| Region |
string |
否 |
目前该字段暂未生效,默认返回全部 region 用量。 |
cn-shanghai |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
BEA98A0C-7870-15FE-B96F-8880BB600A2C |
| Data |
array<object> |
IMS 点播用量统计数据。 |
|
|
object |
|||
| MpsTranscodeDuration |
integer |
点播转码时长。 |
17337 |
| MpsTranscodeUHDDuration |
integer |
音画增强时长。 |
300 |
| LiveTranscodeDuration |
integer |
直播转码时长。 |
12356 |
| EditingDuration |
string |
视频剪辑时长。 |
8722 |
| MpsAiDuration |
integer |
视频 AI 时长。 |
0 |
| LiveRecordDuration |
string |
直播录制时长 |
100 |
| LiveEditDuration |
string |
直播剪辑时长 |
2000 |
| LiveSnapshotCount |
string |
直播截图数量 |
100 |
示例
正常返回示例
JSON格式
{
"RequestId": "BEA98A0C-7870-15FE-B96F-8880BB600A2C",
"Data": [
{
"MpsTranscodeDuration": 17337,
"MpsTranscodeUHDDuration": 300,
"LiveTranscodeDuration": 12356,
"EditingDuration": "8722",
"MpsAiDuration": 0,
"LiveRecordDuration": "100",
"LiveEditDuration": "2000",
"LiveSnapshotCount": "100"
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。