rule_template

获取全局规则模板信息

get global rule template

get/v1/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/rule_templates/{rule_template_name}/
  • Auth
    API key in header Authorization

Path parameters

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

codeinteger
messagestring

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.