v1

latestSwagger 2.0Apache 2.02026-07-174650145.6 KB
Sources

Update a source

Update the configuration details of an existing source.

put/api/v1/project/{projectid}/sources/{id}

Path parameters

projectidstring required

project id (default is 123)

idinteger required

source id

Request body

configstring required
namestring required
typestring required
versionstring required

Example request

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

Response

OK