All Products
Search
Document Center

ApsaraVideo VOD:ListTranscodeTemplateGroup

Last Updated:Dec 19, 2024

Queries transcoding template groups.

Operation description

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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • 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 Key: the condition key that is defined by the cloud service.
  • 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.
OperationAccess levelResource typeCondition keyAssociated operation
vod:ListTranscodeTemplateGrouplist
*All Resources
*
    none
none

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<object>

The transcoding template groups.

TranscodeTemplateGroupobject
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

Examples

Sample success responses

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 Service error codes.