Retrieves a list of user-defined Video on Demand (VOD) media processing templates.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListCustomTemplates |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
Yes |
The type of the template. Valid values:
|
1 |
| Subtype |
string |
No |
The subtype of the template. This parameter applies only when
|
2 |
| Name |
string |
No |
The name of the template. |
test-template |
| TemplateId |
string |
No |
The ID of the template. |
****96e8864746a0b6f3**** |
| PageNumber |
integer |
No |
The page number of the results to return. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| OrderBy |
string |
No |
The sort order of the results. Valid values:
|
CreateTimeDesc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The root object of the response. |
||
| RequestId |
string |
The unique identifier for the request. |
******11-DB8D-4A9A-875B-275798****** |
| Total |
integer |
The total number of templates. |
20 |
| CustomTemplateList |
array<object> |
An array of custom template objects. |
|
|
array<object> |
Details of a custom template. |
||
| TemplateId |
string |
The template ID. |
****20b48fb04483915d4f2cd8ac**** |
| TemplateName |
string |
The template name. |
test-template |
| Type |
integer |
The template type ID. |
1 |
| TypeName |
string |
The template type name. |
TranscodeTemplate |
| Subtype |
integer |
The template subtype ID. |
2 |
| SubtypeName |
string |
The template subtype name. |
AudioTranscode |
| Status |
string |
The template status. Valid values:
|
Normal |
| IsDefault |
boolean |
Whether the template is a default template. Valid values:
|
true |
| TemplateConfig |
string |
The template configuration, as a JSON string. |
{"Container":{"Format":"mp3"},"Audio":{"Codec":"mp3","Bitrate":"64","Samplerate":"22050","Channels":"2"}} |
| CreateTime |
string |
The time when the template was created, in UTC and formatted as YYYY-MM-DDTHH:mm:ssZ. |
2022-07-12T16:17:54Z |
| ModifiedTime |
string |
The time when the template was last modified, in UTC and formatted as YYYY-MM-DDTHH:mm:ssZ. |
2022-07-12T16:17:54Z |
| FrontendHint |
object |
||
| TranscodeTemplateHint |
object |
||
| BitrateControlType |
string |
Examples
Success response
JSON format
{
"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": ""
}
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.