Domain name for API request: iss.intl.tencentcloudapi.com.
Used to modify a video recording cloud template.
A maximum of 5 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: UpdateRecordBackupTemplate. |
| Version | Yes | String | Common Params. The value used for this API: 2023-05-17. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| TemplateId | Yes | String | Template ID (obtain from the ListRecordBackupTemplates API for querying the video recording cloud template list) |
| Mod | Yes | UpdateRecordBackupTemplateModify | Modify the template data for video recording upload to cloud |
| Parameter Name | Type | Description |
|---|---|---|
| Data | UpdateRecordBackupTemplateData | Returned data. |
| 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. |
POST / HTTP/1.1
Host: iss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: UpdateRecordBackupTemplate
<Common request parameters>
{
"TemplateId": "abcdefgh-1234-5678-ijkl-1234567890ab",
"Mod": {
"TimeSections": [
{
"DayOfWeek": 2,
"StartTime": "00:00:00",
"EndTime": "01:00:00"
}
],
"DevTimeSections": [
{
"DayOfWeek": 1,
"StartTime": "00:00:00",
"EndTime": "00:30:00"
}
],
"Scale": 1
}
}
{
"Response": {
"Data": {
"CreateAt": "2023-06-02 18:35:35",
"DevTimeSections": [
{
"DayOfWeek": 1,
"EndTime": "00:30:00",
"StartTime": "00:00:00"
}
],
"Scale": 1,
"TemplateId": "abcdefgh-1234-5678-ijkl-1234567890ab",
"TemplateName": "test1",
"TimeSections": [
{
"DayOfWeek": 2,
"EndTime": "01:00:00",
"StartTime": "00:00:00"
}
],
"UpdateAt": "2023-06-21 15:03:28"
},
"RequestId": "dee0d86a-7821-4519-ba68-e9e846f9e11c"
}
}
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 |
|---|---|
| FailedOperation | Operation failed |
| InvalidParameterValue.BakTimeNotEnough | Existence of a setting failing to satisfy (Cloud Upload Time Period = previous day's recording time period/cloud upload playback speed). Please check and confirm. |
| InvalidParameterValue.DataOutOfRange | Period exceeds the limit (1-7) |
| InvalidParameterValue.InvalidTemplateId | Invalid template ID |
| InvalidParameterValue.InvalidTimeFormat | Time format error. |
| InvalidParameterValue.StartTimeGreaterThanOrEqualEndTime | Start time cannot be greater than or equal to end time. |
| InvalidParameterValue.TimeLessThanTenMinutes | Time interval cannot be less than 10 minutes. |
| InvalidParameterValue.UnSupportScale | Playback speed not supported |
| ResourceInUse.TemplateNameRepeat | Template name must be unique. |
| ResourceNotFound | Resource does not exist. |
フィードバック