Description
You can call this operation to set the default transcoding template group.
Request parameters
Parameter | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set this parameter to SetDefaultTranscodeTemplateGroup. |
TranscodeTemplateGroupId | String | Yes | The ID of the transcoding template group. |
Response parameters
Parameter | Type | Description |
---|---|---|
RequestId | String | The ID of the request. |
API examples
Sample request
https://vod.cn-shanghai.aliyuncs.com?Action=SetDefaultTranscodeTemplateGroup&TranscodeTemplateGroupId="ffffffffff"
Sample response
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58"
}
Error codes
This operation also returns common errors. For more information about errors common to all operations, see common errors.
Error code | Error message | HTTP status code | Description |
---|---|---|---|
InvalidTranscodeTemplateGroup.NotFound | The transcode template group does not exist | 404 | The error message returned because the specified transcoding template group does not exist. |
SDK examples
We recommend that you use a server SDK to call this operation. For more information about the sample code used to call this operation in various languages, see the following topics: