Mengkueri informasi tentang template preset sistem.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetSystemTemplate |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
Yes |
ID templat. |
S00000001-100060 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| RequestId |
string |
ID permintaan. |
******11-DB8D-4A9A-875B-275798****** |
| SystemTemplate |
object |
Informasi templat. |
|
| TemplateId |
string |
ID templat. |
S00000001-100060 |
| TemplateName |
string |
Nama templat. |
M3U8-2K |
| Type |
integer |
ID tipe templat. |
1 |
| TypeName |
string |
Nama tipe templat. |
TranscodeTemplate |
| Subtype |
integer |
ID subtipe templat. |
1 |
| SubtypeName |
string |
Nama subtipe templat. |
Normal |
| Status |
string |
Status templat. |
Normal |
| TemplateConfig |
string |
Parameter templat. |
{"Container":{"Format":"m3u8"},"TransConfig":{"TransMode":"onepass"},"Video":{"Codec":"H.264","Maxrate":8000,"Preset":"medium","PixFmt":"yuv420p","Width":2048,"Bitrate":3500},"Audio":{"Codec":"aac","Bitrate":160,"Samplerate":44100,"Channels":2}} |
Contoh
Respons sukses
JSONformat
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"SystemTemplate": {
"TemplateId": "S00000001-100060",
"TemplateName": "M3U8-2K",
"Type": 1,
"TypeName": "TranscodeTemplate",
"Subtype": 1,
"SubtypeName": "Normal",
"Status": "Normal",
"TemplateConfig": "{\"Container\":{\"Format\":\"m3u8\"},\"TransConfig\":{\"TransMode\":\"onepass\"},\"Video\":{\"Codec\":\"H.264\",\"Maxrate\":8000,\"Preset\":\"medium\",\"PixFmt\":\"yuv420p\",\"Width\":2048,\"Bitrate\":3500},\"Audio\":{\"Codec\":\"aac\",\"Bitrate\":160,\"Samplerate\":44100,\"Channels\":2}}"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.