rule_template
添加自定义规则
create custom rule
post/v1/custom_rules
Request
- Base URL/sqle (relative, and the document was published on a file host, not at the API’s origin)
- URL/sqle/v1/custom_rules
- AuthAPI key in header Authorization
Request body
Example request
{
"annotation": "this is test rule",
"db_type": "MySQL",
"desc": "this is test rule",
"level": "notice",
"type": "DDL规则"
}Response
OK
Example response
{
"message": "ok"
}Changes
No recorded changes to this operation across all 75 revisions of this API.