GET api/DB/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Connection
NameDescriptionTypeAdditional information
ssl

boolean

None.

sslverifycertificate

boolean

None.

replicaSet

string

None.

authSource

string

None.

UserName

string

None.

Password

string

None.

DatabaseName

string

None.

Servers

Collection of Server

None.

Response Formats

application/json, text/json

Sample:
{
  "ssl": true,
  "sslverifycertificate": true,
  "replicaSet": "sample string 2",
  "authSource": "sample string 3",
  "UserName": "sample string 4",
  "Password": "sample string 5",
  "DatabaseName": "sample string 6",
  "Servers": [
    {
      "Host": "sample string 1",
      "Port": 2
    },
    {
      "Host": "sample string 1",
      "Port": 2
    }
  ]
}

application/xml, text/xml

Sample:
<Connection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sistema">
  <DatabaseName>sample string 6</DatabaseName>
  <Password>sample string 5</Password>
  <Servers>
    <Server>
      <Host>sample string 1</Host>
      <Port>2</Port>
    </Server>
    <Server>
      <Host>sample string 1</Host>
      <Port>2</Port>
    </Server>
  </Servers>
  <UserName>sample string 4</UserName>
  <authSource>sample string 3</authSource>
  <replicaSet>sample string 2</replicaSet>
  <ssl>true</ssl>
  <sslverifycertificate>true</sslverifycertificate>
</Connection>