Domain name for API request: cdb.intl.tencentcloudapi.com.
This API is used to query the change history of rule templates.
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: DescribeAuditRuleTemplateModifyHistory. |
| Version | Yes | String | Common Params. The value used for this API: 2017-03-20. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chengdu, ap-chongqing, ap-guangzhou, ap-hongkong, ap-jakarta, ap-nanjing, ap-seoul, ap-shanghai, ap-shanghai-fsi, ap-shenzhen-fsi, ap-singapore, ap-tokyo, eu-frankfurt, na-ashburn, na-siliconvalley, sa-saopaulo. |
| RuleTemplateIds.N | No | Array of String | Audit rule template ID, which can be obtained through the DescribeAuditRuleTemplates API. |
| StartTime | No | String | Start time of the query range. |
| EndTime | No | String | End time of the query range. |
| Limit | No | Integer | Number of entries to return. Default value: 20. Maximum value: 1000. |
| Offset | No | Integer | Offset. |
| Order | No | String | Sort order. DESC - Sorted by modification time in descending order, ASC - Ascending order. Default value: DESC. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total number of entries. |
| Items | Array of RuleTemplateRecordInfo | Change details. |
| 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: cdb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRuleTemplateModifyHistory
<Common request parameters>
{
"RuleTemplateIds": [
"cdb-art-8qx2kcr7"
],
"StartTime": "2023-07-26 00:00:00",
"EndTime": "2023-07-27 00:00:00",
"Limit": 10,
"Offset": 0,
"Order": "DESC"
}{
"Response": {
"TotalCount": 1,
"Items": [
{
"TaskId": 1997098,
"ModifyBeforeInfo": {
"RuleTemplateId": "cdb-art-8qx2kcr7",
"RuleTemplateName": "wy_1",
"RuleFilters": [
{
"Type": "sqlType",
"Compare": "EQS",
"Value": [
"DROP"
]
}
],
"AlarmLevel": 1,
"AlarmPolicy": 0,
"Description": "andyaudit"
},
"ModifyAfterInfo": {
"RuleTemplateId": "cdb-art-8qx2kcr7",
"RuleTemplateName": "wy_1",
"RuleFilters": [
{
"Type": "sqlType",
"Compare": "EQS",
"Value": [
"DROP",
"DELETE"
]
}
],
"AlarmLevel": 2,
"AlarmPolicy": 0,
"Description": "andyrule2"
},
"AffectedInstances": [
"cdb-nzg4gv35",
"cdb-12y4cjjd"
],
"Operator": "700000579947",
"UpdateTime": "2023-07-26 00:09:00"
}
],
"RequestId": "186905b7-756c-4aae-a403-a40568aa5952"
}
}
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 |
|---|---|
| InvalidParameter.ControllerNotFoundError | This API was not found. |
文档反馈