Mengkueri daftar templat pemrosesan media VOD kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListCustomTemplates |
list |
*Semua Sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
Yes |
Tipe templat. Nilai valid:
|
1 |
| Subtype |
string |
No |
ID subtipe templat. Nilai valid:
|
2 |
| Name |
string |
No |
Nama templat. |
test-template |
| TemplateId |
string |
No |
ID templat. |
****96e8864746a0b6f3**** |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Ukuran halaman. |
20 |
| OrderBy |
string |
No |
Pesanan pengurutan. Nilai valid:
|
CreateTimeDesc |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| RequestId |
string |
ID permintaan. |
******11-DB8D-4A9A-875B-275798****** |
| Total |
integer |
Jumlah total templat. |
20 |
| CustomTemplateList |
array<object> |
Daftar templat. |
|
|
array<object> |
Informasi templat kustom. |
||
| TemplateId |
string |
ID templat. |
****20b48fb04483915d4f2cd8ac**** |
| TemplateName |
string |
Nama templat. |
test-template |
| Type |
integer |
ID tipe templat. |
1 |
| TypeName |
string |
Nama tipe templat. |
TranscodeTemplate |
| Subtype |
integer |
ID subtipe templat. |
2 |
| SubtypeName |
string |
Nama subtipe templat. |
AudioTranscode |
| Status |
string |
Status templat. Valid values:
|
Normal |
| IsDefault |
boolean |
Apakah templat merupakan templat default. Valid values:
|
true |
| TemplateConfig |
string |
Parameter templat. |
{"Container":{"Format":"mp3"},"Audio":{"Codec":"mp3","Bitrate":"64","Samplerate":"22050","Channels":"2"}} |
| CreateTime |
string |
Pengatur waktu saat templat dibuat. Pengatur waktu mengikuti standar ISO 8601 dan dalam UTC (diakhiri dengan Z). |
2022-07-12T16:17:54Z |
| ModifiedTime |
string |
Pengatur waktu saat templat dimodifikasi. Pengatur waktu mengikuti standar ISO 8601 dan dalam UTC (diakhiri dengan Z). |
2022-07-12T16:17:54Z |
| FrontendHint |
object |
||
| TranscodeTemplateHint |
object |
||
| BitrateControlType |
string |
Contoh
Respons sukses
JSONformat
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"Total": 20,
"CustomTemplateList": [
{
"TemplateId": "****20b48fb04483915d4f2cd8ac****",
"TemplateName": "test-template",
"Type": 1,
"TypeName": "TranscodeTemplate",
"Subtype": 2,
"SubtypeName": "AudioTranscode",
"Status": "Normal",
"IsDefault": true,
"TemplateConfig": "{\"Container\":{\"Format\":\"mp3\"},\"Audio\":{\"Codec\":\"mp3\",\"Bitrate\":\"64\",\"Samplerate\":\"22050\",\"Channels\":\"2\"}}",
"CreateTime": "2022-07-12T16:17:54Z",
"ModifiedTime": "2022-07-12T16:17:54Z",
"FrontendHint": {
"TranscodeTemplateHint": {
"BitrateControlType": ""
}
}
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.