All Products
Search
Document Center

ApsaraVideo VOD:ListTranscodeTemplateGroup

Last Updated:Dec 14, 2022

Queries transcoding template groups.

Operation Description

NoteThis 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.

Authorization information

The following table is the authorization information corresponding to the API, which can be found in the RAM permission policy statement.Action Used in the element to grant the RAM user or RAM role permission to call this API. The specific instructions are as follows:

  • 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 keyword: refers to the condition keyword defined by the cloud product itself.
  • 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.
Operateaccess levelResource typeconditional keywordAssociation operation
vod:ListTranscodeTemplateGroupList
  • VOD
    acs:vod:*:{#accountId}:*/*
    without
without

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdstringNo

The ID of the application. Default value: app-1000000. For more information, see Overview.

app-****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

25818875-5F78-4A*****F6-D7393642CA58
TranscodeTemplateGroupListarray

The transcoding template groups.

object
CreationTimestring

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.

2018-12-05T10:20:09Z
IsDefaultstring

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.
Default
AppIdstring

The ID of the application.

app-****
TranscodeTemplateGroupIdstring

The ID of the transcoding template group.

17a9889fc66852*****d791c886700932
Namestring

The name of the template group.

test
ModifyTimestring

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.

2018-12-05T10:22:09Z
Lockedstring

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

  • Disabled: The template group is not locked.
  • Enabled: The template group is locked.
Disabled

Example

Normal return example

JSONFormat

{
  "RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
  "TranscodeTemplateGroupList": [
    {
      "CreationTime": "2018-12-05T10:20:09Z",
      "IsDefault": "Default",
      "AppId": "app-****",
      "TranscodeTemplateGroupId": "17a9889fc66852*****d791c886700932",
      "Name": "test",
      "ModifyTime": "2018-12-05T10:22:09Z",
      "Locked": "Disabled"
    }
  ]
}

Error codes

For a list of error codes, visit the API error center.