v1

latestSwagger 2.0Apache 2.02026-07-174650145.6 KB
Sources

Get source stream catalog

Discover and list available data streams from a source.

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

Path parameters

projectidstring required

project id (default is 123)

Request body

configstring required
job_idinteger required
job_namestring required
max_discover_threadsinteger
namestring required
typestring required
versionstring required

Example request

{
  "config": "{\"host\":\"localhost\",\"port\":5432}",
  "job_id": 1,
  "job_name": "my-sync-job",
  "max_discover_threads": 50,
  "name": "my-postgres-source",
  "type": "postgres",
  "version": "v0.2.7"
}

Response

OK