rule_template

更新项目规则模板

update rule template in project

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

Path parameters

project_namestring required

project name

rule_template_namestring required

rule template name

Request body

descstring

Example request

{
  "rule_list": [
    {
      "level": "error",
      "name": "ddl_check_index_count"
    }
  ]
}

Response

OK

codeinteger
messagestring

Example response

{
  "message": "ok"
}

Changes

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