audit_whitelist

添加SQL白名单

create a sql whitelist

post/v1/projects/{project_name}/audit_whitelist

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

Path parameters

project_namestring required

project name

Request body

descstring
match_type'exact_match' | 'fp_match'
valuestring

Example request

{
  "desc": "used for rapid release",
  "match_type": "exact_match",
  "value": "create table"
}

Response

OK

codeinteger
messagestring

Example response

{
  "message": "ok"
}

Changes

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