rule_template
添加项目规则模板
create a rule template in project
post/v1/projects/{project_name}/rule_templates
Request
- Base URL/sqle (relative, and the document was published on a file host, not at the API’s origin)
- URL/sqle/v1/projects/{project_name}/rule_templates
- AuthAPI key in header Authorization
Path parameters
project_namestring required
project name
Request body
Example request
{
"rule_list": [
{
"level": "error",
"name": "ddl_check_index_count"
}
]
}Response
OK
Example response
{
"message": "ok"
}Changes
No recorded changes to this operation across all 75 revisions of this API.