rule_template

自定义规则列表

get all custom rule template

get/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
  • Auth
    API key in header Authorization

Query parameters

filter_db_typestring

filter db type

filter_descstring

filter desc

Response

OK

codeinteger
messagestring

Example response

{
  "data": [
    {
      "annotation": "this is test rule",
      "db_type": "MySQL",
      "desc": "this is test rule",
      "level": "notice",
      "type": "DDL规则"
    }
  ],
  "message": "ok"
}

Changes

No recorded changes to this operation across all 75 revisions of this API.