v1

latestSwagger 2.0Apache 2.02026-07-174650145.6 KB
Sources

Test source connection

Validate the connection to a source using the provided configuration details.

post/api/v1/project/{projectid}/sources/test

Path parameters

projectidstring required

project id (default is 123)

Request body

configstring required
typestring required
versionstring required

Example request

{
  "config": "{\"host\":\"localhost\",\"port\":5432,\"database\":\"mydb\",\"user\":\"postgres\",\"password\":\"secret\"}",
  "type": "postgres",
  "version": "v0.2.7"
}

Response

OK