v1

latestSwagger 2.0Apache 2.02026-07-174650145.6 KB
Sources

Create a new source

Create a new source within a project.

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

Path parameters

projectidstring required

project id (default is 123)

Request body

configstring required
namestring required
typestring required
versionstring required

Example request

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

Response

OK