Specifies a transcoding template as the default one.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | SetDefaultTranscodeTemplateGroup |
The operation that you want to perform. Set the value to SetDefaultTranscodeTemplateGroup. |
| TranscodeTemplateGroupId | String | Yes | d58079958be8d*****b699ab7ab6e1bf |
The ID of the transcoding template group. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 25818875-5F78-4A*****F6-D7393642CA58 |
The ID of the request. |
Examples
Sample requests
https://vod.{ApiRegion}.aliyuncs.com/?Action=SetDefaultTranscodeTemplateGroup
&TranscodeTemplateGroupId=d58079958be8d*****b699ab7ab6e1bf
&<Common request parameters>Sample success responses
XML format
<SetDefaultTranscodeTemplateGroupResponse>
<RequestId>25818875-5F78-4A*****F6-D7393642CA58</RequestId>
</SetDefaultTranscodeTemplateGroupResponse>JSON format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58"
}Error codes
For a list of error codes, visit the API Error Center.
Common errors
The following table describes the common errors that this operation can return.
|
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 server SDKs to call this operation. You can view the sample code of different languages to call this operation by clicking the following links: