Skip to main content
POST
/
v2
/
ConnectorGetTableMetaData
Get table metadata from connector
curl --request POST \
  --url http://localhost:3000/v2/ConnectorGetTableMetaData \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "connectorid": 123,
  "apikey": "<string>",
  "username": "<string>",
  "connectortype": "<string>",
  "dbhost": "<string>",
  "dbport": "<string>",
  "dbname": "<string>",
  "tablename": "<string>",
  "request_metadata": {}
}
'
{
  "status": "ok",
  "metadata": {}
}

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
connectorid
integer
required

ID of the connector

apikey
string
required

API key for the connector

username
string
required

Username for database connection

connectortype
string
required

Type of the connector

dbhost
string
required

Database host

dbport
string
required

Database port

dbname
string
required

Database name

tablename
string
required

Table name

request_metadata
object

Additional metadata for the request

Response

200 - application/json

Table metadata retrieved successfully

status
string
Example:

"ok"

metadata
object

Table metadata