Create New Source
Changed onCreate a new source connector.
The config object contains connector-specific properties using dot notation (e.g., table.include.list, schema.include.list, database.hostname).
Use the GET /sources/connectors endpoint with a connector_code query parameter to retrieve the full configuration schema for a specific connector type.
For an API source (a catalog entry with api_source: true), read config from GET /sources/connectors/{code}/schema instead: its json_schema names the fields and auth modes. 403 when the connector is not available on this deployment, with its unavailable_reason as the detail.
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Whether to include secret values in the response
When False (default), save the configuration and return immediately; the connector is deployed to Kafka Connect asynchronously and its desired_state stays Pending until then. When True, wait for the deployment.
Request body
Response
Successful Response
Changes
- breaking
for the
queryrequest parameterwait, default value was changed fromtruetofalse - info
added the new
Pending Pauseenum value to the request property/ - info
added the new
Pending Restartenum value to the request property/ - info
added the new
Pending Resumeenum value to the request property/ - info
added the new
Pending Stopenum value to the request property/ - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the success response with the status
- breaking