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.
- formData[sql]: sql content;
- file[input_sql_file]: it is a sql file;
- 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
Example response
{
"data": {
"instance_schema": "db1"
},
"message": "ok"
}