instance

获取实例信息

get instance db

get/v2/projects/{project_name}/instances/{instance_name}/

Request

  • Base URL
    /sqle (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sqle/v2/projects/{project_name}/instances/{instance_name}/
  • Auth
    API key in header Authorization

Path parameters

project_namestring required

project name

instance_namestring required

instance name

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "additional_params": [
      {
        "description": "参数项中文名",
        "name": "param name",
        "type": "int",
        "value": "0"
      }
    ],
    "db_host": "10.10.10.10",
    "db_port": "3306",
    "db_type": "mysql",
    "db_user": "root",
    "desc": "this is a instance",
    "source": "SQLE"
  },
  "message": "ok"
}

Changes

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