Data
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
PATCH | |
DELETE | |
POST | |
DELETE | |
POST | |
POST | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
PATCH | |
POST | |
POST | |
GET | |
POST |
Retrieve external data schemas
Required API key scopes
external_data_source:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /external_data_schemas /:idExample response
Status 200
RESPONSE
Update external data schemas
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- should_syncboolean
- sync_type
- incremental_fieldstring
- incremental_field_type
- sync_frequency
- sync_time_of_daystring
- primary_key_columnsarray
- cdc_table_mode
Response
Example request
PATCH /api /projects /:project_id /external_data_schemas /:idExample response
Status 200
RESPONSE
Delete external data schemas
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /external_data_schemas /:idExample response
Status 204 No response body
Create external data schemas cancel
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- should_syncboolean
- sync_type
- incremental_fieldstring
- incremental_field_type
- sync_frequency
- sync_time_of_daystring
- primary_key_columnsarray
- cdc_table_mode
Example request
POST /api /projects /:project_id /external_data_schemas /:id /cancelExample response
Status 200 No response body
Delete external data schemas delete data
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /external_data_schemas /:id /delete_dataExample response
Status 204 No response body
Create external data schemas incremental fields
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- should_syncboolean
- sync_type
- incremental_fieldstring
- incremental_field_type
- sync_frequency
- sync_time_of_daystring
- primary_key_columnsarray
- cdc_table_mode
Example request
POST /api /projects /:project_id /external_data_schemas /:id /incremental_fieldsExample response
Status 200 No response body
Create external data schemas reload
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- should_syncboolean
- sync_type
- incremental_fieldstring
- incremental_field_type
- sync_frequency
- sync_time_of_daystring
- primary_key_columnsarray
- cdc_table_mode
Example request
POST /api /projects /:project_id /external_data_schemas /:id /reloadExample response
Status 200 No response body
Create external data schemas resync
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- should_syncboolean
- sync_type
- incremental_fieldstring
- incremental_field_type
- sync_frequency
- sync_time_of_daystring
- primary_key_columnsarray
- cdc_table_mode
Example request
POST /api /projects /:project_id /external_data_schemas /:id /resyncExample response
Status 200 No response body
List all external data sources
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
- searchstring
Response
Example request
GET /api /projects /:project_id /external_data_sourcesExample response
Status 200
RESPONSE
Create external data sources
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writePath parameters
- project_idstring
Request parameters
- source_type
- payloadobject
- prefixstring
- descriptionstring
- access_methodDefault:
warehouse
Response
Example request
POST /api /projects /:project_id /external_data_sourcesExample response
Status 201
RESPONSE
Retrieve external data sources
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /external_data_sources /:idExample response
Status 200
RESPONSE
Update external data sources
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Response
Example request
PATCH /api /projects /:project_id /external_data_sources /:idExample response
Status 200
RESPONSE
Delete external data sources
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /external_data_sources /:idExample response
Status 204 No response body
Update external data sources bulk update schemas
Create, Read, Update and Delete External data Sources.
Path parameters
- idstring
- project_idstring
Query parameters
- limitinteger
- offsetinteger
- searchstring
Request parameters
- schemasarray
Response
Example request
PATCH /api /projects /:project_id /external_data_sources /:id /bulk_update_schemasExample response
Status 200
RESPONSE
Create external data sources create webhook
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Example request
POST /api /projects /:project_id /external_data_sources /:id /create_webhookExample response
Status 200 No response body
Create external data sources delete webhook
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Example request
POST /api /projects /:project_id /external_data_sources /:id /delete_webhookExample response
Status 200 No response body
Retrieve external data sources jobs
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:readPath parameters
- idstring
- project_idstring
Example request
GET /api /projects /:project_id /external_data_sources /:id /jobsExample response
Status 200 No response body
Create external data sources refresh schemas
Fetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).
Required API key scopes
external_data_source:writePath parameters
- idstring
- project_idstring
Request parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Example request
POST /api /projects /:project_id /external_data_sources /:id /refresh_schemas