sources
Add PostgreSQL connection
Create a new PostgreSQL database connection.
POST
/api/v1/sources/add/postgres/
Headers
Authorizationrequiredany - API key authentication using Bearer scheme
Request Body
typerequiredstring - Connection type identifier. Must be `POSTGRES`
account_namestring - Display name for the connection
hostnamestring - PostgreSQL server hostname
portinteger - Port number
usernamestring - Database username
passwordstring - Database password
database_namestring - Database name
connection_stringstring - Alternative: full connection string instead of individual parameters
selected_schemasarray - List of schema names to include in queries and overviews. If empty, all schemas except system schemas will be included.
Response
idinteger - The ID of the created connection
