task

审核任务组

audit task group.

  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.
  4. file[input_zip_file]: it is zip file, sql will be parsed from it.
post/v1/task_groups/audit

Request

  • Base URL
    /sqle (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sqle/v1/task_groups/audit
  • Auth
    API key in header Authorization

Request body multipart/form-data

task_group_idinteger required

group id of tasks

sqlstring

sqls for audit

enable_backupboolean

enable backup

backup_max_rowsinteger

backup max rows

file_order_methodstring

file order method

input_sql_filestring binary

input SQL file

input_mybatis_xml_filestring binary

input mybatis XML file

input_zip_filestring binary

input ZIP file

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "tasks": [
      {
        "instance_schema": "db1"
      }
    ]
  },
  "message": "ok"
}

Changes

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