Sources
Get source stream catalog
Changed onStart discovering the data streams of a source. Poll the returned operation; its result (GET /operations/{operationid}/result) is a dto.DiscoverCatalogResponse in one format: available_streams + selected_streams for a split catalog, otherwise streams_config.
post/api/v1/project/{projectid}/sources/streams
Request
- The document declares no server URL.
- Authnone declared
Path parameters
projectidstring required
project id (default is 123)
Request body
Example request
{
"config": "{\"host\":\"localhost\",\"port\":5432}",
"job_id": 1,
"job_name": "my-sync-job",
"max_discover_threads": 50,
"name": "my-postgres-source",
"target_query_engines": [
"spark",
"duckdb"
],
"type": "postgres",
"version": "v0.2.7"
}Response
Accepted
Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
added the non-success response with the status
- info