输入示例
POST https://waf.volcengineapi.com/?Action=ListCustomPage&Version=2023-12-25
{
"Page": 1,
"RuleTag": "D000000001642",
"Host": "example.com",
"ProjectName": "default",
"PageSize": 10
}输出示例
{
"ResponseMetadata": {
"RequestId": "20230604110420****100232280022D31",
"Action": "ListCustomPage",
"Version": "2023-12-25",
"Service": "waf",
"Region": "cn-beijing"
},
"Result": {
"PageNumber": 10,
"CurrentPage": 1,
"PageSize": 10,
"Data": [
{
"Id": 1876,
"Url": "/test/*",
"Body": "<!DOCTYPE html> <html> <meta charset=\"utf-8\"> <body> <p> !!! 系统禁止访问 </p> </body> </html>",
"Code": "403",
"Host": "example.com",
"Name": "自定义规则1",
"Enable": 1,
"Header": "Header",
"Policy": 1,
"GroupId": 9923,
"RuleTag": "D000000000961",
"Accurate": {
"Logic": 1,
"AccurateRules": [
{
"HttpObj": "request.schema",
"ObjType": 0,
"Opretar": 2,
"Property": 0,
"ValueString": "http"
}
]
},
"Advanced": 1,
"ClientIp": "ALL",
"PageMode": 0,
"UpdateTime": "2024-01-24T17:08:29+08:00",
"ContentType": "text/html",
"Description": "增加一条自定义响应拦截规则。",
"IsolationId": "cn-beijing",
"RedirectUrl": "RedirectUrl"
}
]
}
}