task

获取指定扫描任务的SQL内容

get SQL content for the audit task

get/v1/tasks/audits/{task_id}/sql_content

Request

  • Base URL
    /sqle (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sqle/v1/tasks/audits/{task_id}/sql_content
  • Auth
    API key in header Authorization

Path parameters

task_idstring required

task id

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "sql": "alter table tb1 drop columns c1"
  },
  "message": "ok"
}

Changes

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