Mengambil daftar templat preset di sistem pemrosesan media.
Deskripsi operasi
Jenis templat (Type):
1: Templat transkoding
2: Templat snapshot
3: Templat gambar animasi
4: Template watermark gambar
5: Template watermark teks
6: Templat subtitle
7: Moderasi cerdas AI
8: Sampul cerdas AI
9: Penghapusan cerdas AI.
Subtipe template transkoding (Subtype):
1: Template transkoding normal (Normal)
2: Template transkoding audio (AudioTranscode)
3: Remux (Remux)
4: Narrowband HD 1.0 (NarrowBandV1)
5: Narrowband HD 2.0 (NarrowBandV2).
Subtipe templat snapshot (Subtype):
1: Snapshot normal/snapshot statis (Normal)
2: Gambar sprite (Sprite)
3: Snapshot WebVtt (WebVtt).
Subtipe templat moderasi AI (Subtype):
1: Moderasi video (Video)
2: Moderasi audio (Audio)
3: Moderasi gambar (Image).
Subtipe templat penghapusan cerdas AI (Subtype):
1: Penghapusan logo (VideoDelogo)
2: Penghapusan subtitle (VideoDetext).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListSystemTemplates |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
Yes |
Jenis templat. Dipisahkan koma. |
1,2 |
| Subtype |
string |
No |
ID subtipe templat. |
1 |
| Name |
string |
No |
Nama templat. |
SampleTemplate |
| TemplateId |
string |
No |
ID templat. |
****96e8864746a0b6f3**** |
| Status |
string |
No |
Status templat:
|
Normal |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Ukuran halaman. Nilai default adalah 20. Nilai maksimum adalah 100. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
******11-DB8D-4A9A-875B-275798****** |
| Total |
integer |
Jumlah total templat. |
20 |
| SystemTemplateList |
array<object> |
Daftar informasi templat. |
|
|
object |
Templat preset sistem. |
||
| TemplateId |
string |
ID templat. |
S00000001-000000 |
| TemplateName |
string |
Nama templat. |
FLV-COPY |
| Type |
integer |
ID jenis templat. |
1 |
| TypeName |
string |
Nama jenis templat. |
TranscodeTemplate |
| Subtype |
integer |
ID subtipe templat. |
1 |
| SubtypeName |
string |
Nama subtipe templat. |
Remux |
| Status |
string |
Status templat. |
Normal |
| TemplateConfig |
string |
Parameter templat. |
{"Container":{"Format":"flv"},"Video":{},"Audio":{}} |
Contoh
Respons sukses
JSONformat
{
"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\":{}}"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.