Queries transcoding template groups.

Note This operation does not return the configurations of transcoding templates in each transcoding template group. To query the configurations of transcoding templates in a specific transcoding template group, call the GetTranscodeTemplateGroup operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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:

  • Default: The template group is the default one.
  • NotDefault: The template group is not the default one.
Locked String Disabled

The lock status of the transcoding template group. Valid values:

  • Disabled: The template group is not locked.
  • Enabled: The template group is locked.
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.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: