database_comparison

获取对比语句

get database comparison detail

post/v1/projects/{project_name}/database_comparison/comparison_statements

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

Path parameters

project_namestring required

project name

Request body

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "base_sql": {
      "sql_statement_with_audit": {
        "audit_results": [
          {
            "level": "warn",
            "message": "避免使用不必要的内置函数md5()"
          }
        ]
      }
    },
    "comparison_sql": {
      "sql_statement_with_audit": {
        "audit_results": [
          {
            "level": "warn",
            "message": "避免使用不必要的内置函数md5()"
          }
        ]
      }
    }
  },
  "message": "ok"
}

Changes

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