ReferenceAPISource Service
Discover source
Runs the source's Discover on a runner of the data plane, and waits for the catalog.
POST
Runs the source's Discover on a runner of the data plane, and waits for the catalog.
workspace*stringThe workspace id.
source*stringThe source id.
application/json- body
name?stringdataPlane?stringThe data plane whose runner discovers it. Unset: the default.
OK
application/json- response
catalog?Catalog is what a source's Discover found.
curl -X POST 'http://localhost:8080/v1/workspaces/string/sources/string:discover' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "catalog": { "streams": [ { "name": "string", "primaryKey": [ "string" ], "cursorField": "string", "replay": "REPLAY_UNSPECIFIED", "columns": [ { "name": "string", "type": "string", "nullable": true } ], "syncModes": [ "SYNC_MODE_UNSPECIFIED" ] } ], "version": "string", "discoverTime": "2019-08-24T14:15:22Z" }}