Queries custom Web Application Firewall (WAF) rule groups.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Language | string | No | The language of the response. Valid values:
| zh |
QueryArgs | string | No | The query conditions. The value is a string in the JSON format. Format: Note
If you do not specify this parameter, all protection rules are queried.
| {"RuleIds":"100001,200002"} |
PageNumber | integer | No | The number of the page to return. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 20. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"TotalCount": 16,
"WafGroups": [
{
"GmtModified": "2020-04-12 22:25:11",
"Id": 30000156,
"Name": "DCDN-test-operation-reports-1",
"RuleCount": 452,
"TemplateId": 1012,
"Subscribe": "on",
"Policies": [
{
"Id": 30000165,
"Name": "wasm-testmaster",
"Type": "default"
}
]
}
],
"PageNumber": 1,
"PageSize": 20
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history