Queries a list of system templates.
Operation description
Template types:
- 1: transcoding template.
- 2: snapshot template.
- 3: animated image template.
- 4. image watermark template.
- 5: text watermark template.
- 6: subtitle template.
- 7: AI-assisted content moderation template.
- 8: AI-assisted intelligent thumbnail template.
- 9: AI-assisted intelligent erasure template.
Subtypes of transcoding templates:
- 1 (Normal): regular template.
- 2 (AudioTranscode): audio transcoding template.
- 3 (Remux): container format conversion template.
- 4 (NarrowBandV1): Narrowband HD 1.0 template.
- 5 (NarrowBandV2): Narrowband HD 2.0 template.
Subtypes of snapshot templates:
- 1 (Normal): regular template.
- 2 (Sprite): sprite template.
- 3 (WebVtt): WebVTT template.
Subtypes of AI-assisted content moderation templates:
- 1 (Video): video moderation template.
- 2 (Audio): audio moderation template.
- 3 (Image): image moderation template.
Subtypes of AI-assisted intelligent erasure templates:
- 1 (VideoDelogo): logo erasure template.
- 2 (VideoDetext): subtitle erasure template.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
ice:ListSystemTemplates | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Type | string | Yes | The template type. Separate multiple types with commas (,). | 1,2 |
Subtype | string | No | The subtype ID of the template. | 1 |
Name | string | No | The template name. | SampleTemplate |
TemplateId | string | No | The template ID. | ****96e8864746a0b6f3**** |
Status | string | No | The template state. Valid values: Normal, Invisible, and All. | Normal |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 20 Valid values: 1 to 100. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"Total": 20,
"SystemTemplateList": [
{
"TemplateId": "S00000001-000000",
"TemplateName": "FLV-COPY",
"Type": 1,
"TypeName": "TranscodeTemplate",
"Subtype": 1,
"SubtypeName": "Remux",
"Status": "Normal",
"TemplateConfig": "{\"Container\":{\"Format\":\"flv\"},\"Video\":{},\"Audio\":{}}"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-07-15 | Add Operation | View Change Details |
2022-07-11 | Add Operation | View Change Details |