Domain name for API request: vod.intl.tencentcloudapi.com.
This API is used to modify an audio and video quality detection template.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyQualityInspectTemplate. |
| Version | Yes | String | Common Params. The value used for this API: 2018-07-17. |
| Region | No | String | Common Params. This parameter is not required. |
| Definition | Yes | Integer | Template ID. |
| SubAppId | No | Integer | Video-on-demand (VOD) application ID. For customers who activate VOD services from December 25, 2023, if they access resources in VOD applications (whether the default application or a newly created application), this field must be filled in as the application ID. |
| Name | No | String | Template name. Length limit: 64 characters. |
| Comment | No | String | Transcoding template description. Length limit: 256 characters. |
| Configs.N | No | Array of QualityInspectConfig | Configuration parameters for audio and video quality detection. |
| Strategy | No | QualityInspectStrategy | Spot check policy for audio and video quality inspection. |
| ScreenshotInterval | No | Float | (Not recommended. Use Configs instead.) Frame interception interval in seconds. Minimum value: 1. |
| JitterConfigure | No | JitterConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame jitter and ghosting detection. |
| BlurConfigure | No | BlurConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame blur detection. |
| AbnormalLightingConfigure | No | AbnormalLightingConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for low-light and overexposure detection in video frames. |
| CrashScreenConfigure | No | CrashScreenConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video image distortion detection. |
| BlackWhiteEdgeConfigure | No | BlackWhiteEdgeConfigureInfoForUpdate | (Not recommended. Use Configs as an alternative) Control parameters for video picture black edge, white edge, black screen, and white screen detection. |
| NoiseConfigure | No | NoiseConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame noise detection. |
| MosaicConfigure | No | MosaicConfigureInfoForUpdate | (Not recommended. Use Configs instead) Control parameters for video frame mosaic detection. |
| QRCodeConfigure | No | QRCodeConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame QR code detection. |
| VoiceConfigure | No | VoiceConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for audio (mute, bass, pop) detection. |
| QualityEvaluationConfigure | No | QualityEvaluationConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame quality evaluation. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Modify an audio and video quality detection template.
POST / HTTP/1.1
Host: vod.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyQualityInspectTemplate
<Common request parameters>
{
"Definition": 20001,
"Name": "testNewName"
}
{
"Response": {
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb04"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameterValue | Parameter value error. |
| ResourceNotFound.TemplateNotExist | Resource does not exist: template does not exist. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback