rule_template
获取项目规则模板信息
get rule template detail in project
get/v1/projects/{project_name}/rule_templates/{rule_template_name}/
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/{rule_template_name}/
- AuthAPI key in header Authorization
Path parameters
project_namestring required
project name
rule_template_namestring required
rule template name
Query parameters
fuzzy_keyword_rulestring
fuzzy rule,keyword for desc and annotation
tagsstring
tags for rule
Response
OK
Example response
{
"data": {
"rule_list": [
{
"annotation": "避免多次 table rebuild 带来的消耗、以及对线上业务的影响",
"db_type": "mysql",
"level": "error",
"type": "全局配置"
}
]
},
"message": "ok"
}Changes
No recorded changes to this operation across all 75 revisions of this API.