rule_template

规则列表

get all rule template

get/v1/rules

Request

  • Base URL
    /sqle (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sqle/v1/rules
  • Auth
    API key in header Authorization

Query parameters

filter_db_typestring

filter db type

fuzzy_keyword_rulestring

fuzzy rule,keyword for desc and annotation

filter_global_rule_template_namestring

filter global rule template name

filter_rule_namesstring

filter rule name list

filter_rule_versioninteger

filter rule version

tagsstring

filter tags

Response

OK

codeinteger
messagestring

Example response

{
  "data": [
    {
      "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.