Skip to main content
PATCH
Update discovery connection

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

connectionId
string<uuid>
obrigatório

Matcher connection ID

Exemplo:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

Corpo

application/json
configName
string

Connection configuration name

Minimum string length: 1
Exemplo:

"prod-ledger-db"

databaseName
string

Database name

Minimum string length: 1
Exemplo:

"ledger"

databaseType
string

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

Minimum string length: 1
Exemplo:

"POSTGRESQL"

host
string

Database host

Minimum string length: 1
Exemplo:

"db.internal.example.com"

password
string
port
integer<int64>

Database TCP port (1-65535)

Intervalo obrigatório: 1 <= x <= 65535
Exemplo:

5432

schema
string

Optional schema/namespace within the database

Exemplo:

"public"

userName
string

Database user name the connection authenticates as

Minimum string length: 1
Exemplo:

"matcher_ro"

Resposta

OK

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