Test Connection
Test data source connection by data source id
Test if it is possible to connect to a database using an existing data source definition.
post/api/v1/actions/dataSources/{dataSourceId}/test
Request
- Base URLhttps://www.gooddata.ai
- Authnone declared
Path parameters
dataSourceIdstring required
Data source id
Request body
Example request
{
"password": "admin123",
"schema": "public",
"url": "jdbc:postgresql://localhost:5432/db_name",
"username": "dbadmin"
}Response
The result of the test of a data source connection.
Example response
{
"error": "Authentication failed",
"queryDurationMillis": {
"createCacheTable": 235,
"simpleSelect": 562
},
"successful": true
}Changes
No recorded changes to this operation across all 1 revision of this API.