task

创建Sql扫描任务并提交审核

create and audit a task, you can upload sql content in three ways, any one can be used, but only one is effective.

  1. formData[sql]: sql content;
  2. file[input_sql_file]: it is a sql file;
  3. file[input_mybatis_xml_file]: it is mybatis xml file, sql will be parsed from it.
post/v1/projects/{project_name}/tasks/audits

Path parameters

project_namestring required

project name

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "instance_schema": "db1"
  },
  "message": "ok"
}

Changes

No recorded changes to this endpoint across all 55 revisions of this API.