Saltar al contenido principal
GET
/
v1
/
discovery
/
connections
/
{connectionId}
/
schema
Get connection schema
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/discovery/connections/{connectionId}/schema \
  --header 'Authorization: Bearer <token>'
{
  "connectionId": "<string>",
  "tables": [
    {
      "tableName": "<string>",
      "columns": [
        {
          "name": "<string>",
          "type": "<string>",
          "nullable": true
        }
      ]
    }
  ]
}

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

X-Request-Id
string

A unique identifier for tracing the request across services.

Parámetros de ruta

connectionId
string
requerido

The unique identifier of the connection.

Respuesta

Schema for the connection

Discovered table schemas for a connection

connectionId
string

Identifier of the connection these schemas belong to

tables
object[]

Discovered tables and their column definitions