Connections
Retrieve schema from the data source
Retrieve schema for the connector by supplying the connector configurations.
post/_api/connectors/{connector-name}/schema
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
connector-namestring required
Name of the connector.
Request body
Example request
{
"type": "source",
"config": {
"host": "db.postgres.com",
"port": 5432,
"username": "postgres",
"password": "password"
}
}Response
Successfully retrieved connector schema.
Example response
{
"result": [
{
"attributes": [
{
"name": "Name",
"type": "string"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.