Database Connections

get
Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Responses
200Success
application/json
get
/api/v1/database_connections/supported_types/
GET /api/v1/database_connections/supported_types/ HTTP/1.1
Host: /
Accept: */*
{
  "connectors": {
    "ANY_ADDITIONAL_PROPERTY": {
      "ANY_ADDITIONAL_PROPERTY": {
        "type": "text",
        "default": "text",
        "values": [
          "text"
        ]
      }
    }
  },
  "write_connectors": {
    "ANY_ADDITIONAL_PROPERTY": {
      "ANY_ADDITIONAL_PROPERTY": {
        "type": "text",
        "default": "text",
        "values": [
          "text"
        ]
      }
    }
  },
  "hooks": {
    "ANY_ADDITIONAL_PROPERTY": {
      "ANY_ADDITIONAL_PROPERTY": {
        "type": "text",
        "default": "text",
        "values": [
          "text"
        ]
      }
    }
  }
}
post
Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Body
one ofOptional
or
or
or
or
or
or
or
or
Responses
200Success
application/json
post
/api/v1/database_connections/test/
POST /api/v1/database_connections/test/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 515

{
  "hooks_params": {
    "SSHTunnel": {
      "host": "text",
      "port": 1,
      "username": "text",
      "local_port": 1,
      "local_host": "text",
      "password": "text",
      "pkey_password": "text",
      "pkey": "text"
    },
    "SSL": {
      "ca_filename": "text",
      "cert_filename": "text",
      "key_filename": "text",
      "ssl_mode": "text",
      "ca": "text",
      "cert": "text",
      "key": "text"
    },
    "Kerberos": {
      "principal": "text",
      "keytab_file": "text"
    }
  },
  "is_source": true,
  "connector_type": "text",
  "host": "text",
  "database": "text",
  "username": "text",
  "password": "text",
  "schema_name": "text",
  "port": 1433,
  "protocol": "mssql+pyodbc"
}
{
  "status": "text",
  "error": {
    "message": "text",
    "fields": [
      "text"
    ],
    "error": "text"
  }
}

Last updated

Was this helpful?