Test Connection
Test connection by data source definition
Test if it is possible to connect to a database using a connection provided by the data source definition in the request body.
post/api/v1/actions/dataSource/test
Request
- Base URLhttps://www.gooddata.ai
- Authnone declared
Request body
Example request
{
"password": "admin123",
"schema": "public",
"type": "POSTGRESQL",
"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.