Queries the information about a system template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetSystemTemplate |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
Yes |
The template ID. |
S00000001-100060 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| SystemTemplate |
object |
The template information. |
|
| TemplateId |
string |
The template ID. |
S00000001-100060 |
| TemplateName |
string |
The template name. |
M3U8-2K |
| Type |
integer |
The type ID of the template. |
1 |
| TypeName |
string |
The type name of the template. |
TranscodeTemplate |
| Subtype |
integer |
The subtype ID of the template. |
1 |
| SubtypeName |
string |
The subtype name of the template. |
Normal |
| Status |
string |
The template state. |
Normal |
| TemplateConfig |
string |
The template parameters. |
{"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}} |
Examples
Success response
JSON format
{
"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}}"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.