rule_template
添加自定义规则
create custom rule
post/v1/custom_rules
Request body
Example request
{
"annotation": "this is test rule",
"db_type": "MySQL",
"desc": "this is test rule",
"level": "notice",
"type": "DDL规则"
}Response
OK
create custom rule
{
"annotation": "this is test rule",
"db_type": "MySQL",
"desc": "this is test rule",
"level": "notice",
"type": "DDL规则"
}OK