/instance/add

Follow

Add a linked instance

Request

HTTP Method: POST
Content Type: application/json

Parameters

Property

Type

Description

Required

auth_type

string

authentication type (possible values: 'SQL' and 'WIN')

required

host

string

host running instance to add

required

password

string(password)

password for authentication to instance

port

integer

port number of instance to add (non-negative)

username

string

user name for authentication to instance

{
    "params": {
        "auth_type": "SQL",
        "host": "string",
        "password": "string",
        "port": 123,
        "username": "string"
    }
}

Response

HTTP Status: 200

Content Type: application/json

Response

Property

Type

Description

error

object of type error_response

error response

result

object of type instance_info

SQL Server instance information

successful

boolean

response with error or not

error_response

Property

Type

Description

message

string

error message

instance_info

Property

Type

Description

authentication_type

string

authentication type (possible values: 'SQL' and 'WIN')

host

string

host running instance

instance_name

string

name of instance

port

integer

port number of instance

username

string

user name for authentication to instance

{
    "error": {
        "message": "string"
    },
    "result": {
        "authentication_type": "SQL",
        "host": "string",
        "instance_name": "string",
        "port": 123,
        "username": "string"
    },
    "successful": true
}

HTTP Status: 400

Content Type: application/json

Response

Property

Type

Description

error

object of type error_response

error response

successful

boolean

always false

error_response

Property

Type

Description

message

string

error message

{
    "error": {
        "message": "string"
    },
    "successful": false
}
Have more questions? Submit a request

Comments