Queries transcoding template groups.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListTranscodeTemplateGroup |
The operation that you want to perform. Set the value to ListTranscodeTemplateGroup. |
AppId | String | No | app-**** |
The ID of the application. Default value: app-1000000. For more information, see Overview. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 25818875-5F78-4A*****F6-D7393642CA58 |
The ID of the request. |
TranscodeTemplateGroupList | Array of TranscodeTemplateGroup |
The transcoding template groups. |
|
AppId | String | app-**** |
The ID of the application. |
CreationTime | String | 2018-12-05T10:20:09Z |
The time when the template group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
IsDefault | String | Default |
Indicates whether the template group is the default one. Valid values:
|
Locked | String | Disabled |
The lock status of the transcoding template group. Valid values:
|
ModifyTime | String | 2018-12-05T10:22:09Z |
The time when the template group was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
Name | String | test |
The name of the template group. |
TranscodeTemplateGroupId | String | 17a9889fc66852*****d791c886700932 |
The ID of the transcoding template group. |
Examples
Sample requests
https://vod.{ApiRegion}.aliyuncs.com/?Action=ListTranscodeTemplateGroup
&<Common request parameters>
Sample success responses
XML
format
<ListTranscodeTemplateGroupResponse>
<RequestId>25818875-5F78-4A*****F6-D7393642CA58</RequestId>
<TranscodeTemplateGroupList>
<IsDefault>Default</IsDefault>
<Locked>Disabled</Locked>
<ModifyTime>2018-12-05T10:22:09Z</ModifyTime>
<AppId>app-****</AppId>
<TranscodeMode>FastTranscode</TranscodeMode>
<TranscodeTemplateGroupId>17a9889fc66852*****d791c886700932</TranscodeTemplateGroupId>
<CreationTime>2018-12-05T10:20:09Z</CreationTime>
<Name>test</Name>
</TranscodeTemplateGroupList>
</ListTranscodeTemplateGroupResponse>
JSON
format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"TranscodeTemplateGroupList": [{
"IsDefault": "Default",
"Locked": "Disabled",
"ModifyTime": "2018-12-05T10:22:09Z",
"AppId": "app-****",
"TranscodeMode": "FastTranscode",
"TranscodeTemplateGroupId": "17a9889fc66852*****d791c886700932",
"CreationTime": "2018-12-05T10:20:09Z",
"Name": "test"
}]
}
Error codes
For a list of error codes, visit the API Error Center.
SDK examples
We recommend that you use server SDKs to call this operation. You can view the sample code of different languages to call this operation by clicking the following links: