Skip to main content
POST
Create discovery connection

Autorizaciones

Authorization
string
header
requerido

Bearer token authentication (format: "Bearer {token}")

Cuerpo

application/json
configName
string
requerido

Connection configuration name

Minimum string length: 1
Ejemplo:

"prod-ledger-db"

databaseName
string
requerido

Database name

Minimum string length: 1
Ejemplo:

"ledger"

databaseType
string
requerido

Database engine type; canonical token or a common alias (e.g. postgres -> POSTGRESQL, mysql -> MYSQL)

Minimum string length: 1
Ejemplo:

"POSTGRESQL"

host
string
requerido

Database host

Minimum string length: 1
Ejemplo:

"db.internal.example.com"

port
integer<int64>
requerido

Database TCP port (1-65535)

Rango requerido: 1 <= x <= 65535
Ejemplo:

5432

userName
string
requerido

Database user name the connection authenticates as

Minimum string length: 1
Ejemplo:

"matcher_ro"

password
string
schema
string

Optional schema/namespace within the database

Ejemplo:

"public"

Respuesta

Created

A discovered Fetcher database connection

id
string

Internal identifier for the connection

configName
string

Name of the Fetcher configuration that produced this connection

databaseType
string

Type of database (e.g. postgres, mysql)

status
string

Current connection status

schemaDiscovered
boolean

Whether the table schema has been discovered for this connection

lastSeenAt
string

Timestamp when this connection was last observed in Fetcher