Mengkueri data penggunaan transkoding IMS VOD. Rentang kueri maksimum adalah 31 hari, dan data dalam 90 hari terakhir dapat dikueri.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:DescribeMeterImsMediaConvertUsage |
none |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StartTs |
integer |
Yes |
Timestamp mulai, 10 digit. Data dalam 90 hari terakhir dapat dikueri. |
1654403036 |
| EndTs |
integer |
Yes |
Timestamp akhir, 10 digit. Interval kueri maksimum adalah 31 hari, yang berarti interval dari StartTs tidak boleh melebihi 31 hari. |
1656995036 |
| Region |
string |
No |
Saat ini bidang ini belum berlaku. Secara default, penggunaan untuk semua wilayah akan dikembalikan. |
cn-shanghai |
| Interval |
integer |
Yes |
Granularitas waktu kueri. Nilai valid: 3600 (granularitas per jam), 86400 (granularitas per hari). |
86400 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
FBBB5210-2B78-58FB-A6FE-9DD887BB2C61 |
| Data |
array<object> |
Data penggunaan transkoding IMS VOD. |
|
|
object |
|||
| Time |
integer |
Timestamp mulai periode waktu, 10 digit. |
1656950400 |
| Specification |
string |
Spesifikasi transkoding. |
H264.HD |
| Duration |
integer |
Durasi, dalam menit. |
20 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "FBBB5210-2B78-58FB-A6FE-9DD887BB2C61",
"Data": [
{
"Time": 1656950400,
"Specification": "H264.HD\n",
"Duration": 20
}
]
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.