Domain name for API request: waf.intl.tencentcloudapi.com.
Query CC rules based on multiple conditions
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: DescribeCCRuleList. |
Version | Yes | String | Common Params. The value used for this API: 2018-01-25. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-guangzhou, ap-seoul, ap-singapore. |
Domain | Yes | String | Domain name of the API to be queried |
Offset | Yes | Integer | Offset |
Limit | Yes | Integer | Capacity |
By | Yes | String | Currently supports sorting by ts_version |
Filters.N | No | Array of FiltersItemNew | Filter array. A name can be one of the following values: RuleID, ParamName, Url, Action, Method, Source, and Status. |
Order | No | String | asc or desc |
Parameter Name | Type | Description |
---|---|---|
Data | CCRuleLists | List of CC rules found Note: This field may return null, indicating that no valid values can be obtained. |
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: waf.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCCRuleList
<Common request parameters>
{
"Domain": "www.testwaf.com",
"Limit": 1,
"Filters": [
{
"Values": [
"clb",
"saas"
],
"Name": "InstanceType",
"ExactMatch": true
}
],
"Offset": 1,
"By": "ts_version"
}
{
"Response": {
"Data": {
"Res": [
{
"ActionType": 22,
"Advance": 0,
"Interval": 60,
"Limit": 60,
"MatchFunc": 0,
"Name": "ccRuleName",
"Priority": 50,
"Options": "[{\"key\":\"Post\",\"args\":[\"a2V5YQ=dmFsdWVh\"],\"match\":\"0\",\"encodeflag\":true}]",
"Status": 1,
"TsVersion": 1579058116920,
"Url": "///",
"ValidTime": 600,
"RuleId": 1900009616,
"EventId": "12983ac"
}
],
"TotalCount": 1
},
"RequestId": "1cc54bf4-cfeb-40cc-a823-035e52106df9"
}
}
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. |
UnsupportedOperation | The operation is not supported. |
Was this page helpful?