IMS的点播转码计量查询,最大查询范围31天,最远可查90天内的数据。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ice:DescribeMeterImsMediaConvertUsage |
none |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| StartTs |
integer |
是 |
开始时间戳,10 位。最远可查 90 天内的数据。 |
1654403036 |
| EndTs |
integer |
是 |
结束时间戳,10 位。最大查询间隔为 31 天,即与 StartTs 的间隔时间不超过 31 天。 |
1656995036 |
| Region |
string |
否 |
目前该字段暂未生效,默认返回全部 region 用量。 |
cn-shanghai |
| Interval |
integer |
是 |
查询时间粒度,枚举值:3600(小时粒度),86400(天粒度)。 |
86400 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
FBBB5210-2B78-58FB-A6FE-9DD887BB2C61 |
| Data |
array<object> |
IMS 的点播转码计量数据。 |
|
|
object |
|||
| Time |
integer |
时间段开始时间戳,10 位。 |
1656950400 |
| Specification |
string |
转码规格。 |
H264.HD |
| Duration |
integer |
时长,单位 min。 |
20 |
示例
正常返回示例
JSON格式
{
"RequestId": "FBBB5210-2B78-58FB-A6FE-9DD887BB2C61",
"Data": [
{
"Time": 1656950400,
"Specification": "H264.HD\n",
"Duration": 20
}
]
}
错误码
|
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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。