DescribeMeterImsMediaConvertUsage
Queries the metering data for video-on-demand (VOD) transcoding in Intelligent Media Services (IMS). The maximum query range is 31 days, and you can query data from up to 90 days ago.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:DescribeMeterImsMediaConvertUsage |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTs |
integer |
Yes |
The start timestamp, which is a 10-digit UNIX timestamp. You can query data from up to 90 days ago. |
1654403036 |
| EndTs |
integer |
Yes |
The end timestamp, which is a 10-digit UNIX timestamp. The maximum query interval is 31 days, which means the interval between this parameter and StartTs cannot exceed 31 days. |
1656995036 |
| Region |
string |
No |
This parameter does not take effect. By default, the usage data for all regions is returned. |
cn-shanghai |
| Interval |
integer |
Yes |
The time granularity for the query. Valid values: 3600 (hourly) and 86400 (daily). |
86400 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
FBBB5210-2B78-58FB-A6FE-9DD887BB2C61 |
| Data |
array<object> |
The metering data for VOD transcoding in IMS. |
|
|
object |
|||
| Time |
integer |
The start timestamp of the time period, which is a 10-digit UNIX timestamp. |
1656950400 |
| Specification |
string |
The transcoding specification. |
H264.HD |
| Duration |
integer |
The duration, in minutes. |
20 |
Examples
Success response
JSON format
{
"RequestId": "FBBB5210-2B78-58FB-A6FE-9DD887BB2C61",
"Data": [
{
"Time": 1656950400,
"Specification": "H264.HD\n",
"Duration": 20
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.