ListMediaConvertTemplateGroup

Updated at:

Queries the list of custom transcoding template groups for the MediaConvert (MC) pipeline by using paging.

Operation description

  • Returns only custom transcoding template groups for the MC pipeline that are created by calling AddMediaConvertTemplateGroup under the current account. You can specify an application. Preset template groups are not included.

  • The results are sorted in ascending order by creation time. Pagination is supported by using MaxResults and NextToken.

  • The queries per second (QPS) limit for a single user is 15. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vod:ListMediaConvertTemplateGroup

list

*All Resource

*

None None

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

MaxResults

integer

No

The maximum number of entries to return per page. Default value: 30. Valid values: 1 to 200.

30

NextToken

string

No

The pagination cursor. You do not need to specify this parameter for the first call. The value is a string in the page_N format, where N is the page number. Specify the NextToken value returned in the previous response to obtain the next page. If no NextToken is returned in the response, all data has been retrieved.

page_2

Response elements

Element

Type

Description

Example

object

The response data.

RequestId

string

The request ID.

25818875-5F78-4AF6-D7393642CA58****

TotalCount

integer

The total number of transcoding template groups that match the query conditions.

2

MaxResults

integer

The maximum number of entries returned in this response.

30

NextToken

string

The pagination cursor for the next page, in the page_N format. If this parameter is not returned, all data has been retrieved.

page_2

TemplateGroupList

array<object>

The list of transcoding template groups.

object

TranscodeTemplateGroupId

string

The ID of the transcoding template group.

4c71a339fe52b4fa6f4527****

Name

string

The name of the transcoding template group.

mcTemplateGroup

GroupConfig

string

The group-level configuration.

{"AutoStreamName":"{RunId}_master"}

AppId

string

The application ID. Default value: app-1000000. For more information, see Multiple applications.

app-****

TemplateType

string

The type of the transcoding template group. Valid values: Normal: normal transcoding template group; VideoPackage: video packaging template group.

Normal

CreationTime

string

The creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).

2026-04-10T08:00:00Z

ModifyTime

string

The modification time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).

2026-04-10T08:00:00Z

Examples

Success response

JSON format

{
  "RequestId": "25818875-5F78-4AF6-D7393642CA58****",
  "TotalCount": 2,
  "MaxResults": 30,
  "NextToken": "page_2",
  "TemplateGroupList": [
    {
      "TranscodeTemplateGroupId": "4c71a339fe52b4fa6f4527****",
      "Name": "mcTemplateGroup",
      "GroupConfig": "{\"AutoStreamName\":\"{RunId}_master\"}",
      "AppId": "app-****",
      "TemplateType": "Normal",
      "CreationTime": "2026-04-10T08:00:00Z",
      "ModifyTime": "2026-04-10T08:00:00Z"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.