How Can I Copy the Schema Selection From One Connector to Another Connector?
Question
How can I copy the schema selection from one connector to another connector?
Environment
- All connectors
- REST API
Answer
To copy the schema selection from one connector to another, do the following:
- Fetch the schema settings from the connector you would like to copy using the Retrieve a connector schema config endpoint:
GET https://api.fivetran.com/v1/connectors/{connector_id}/schemas
. - Observe and copy the configuration of the connector.
- Create a similar configuration for your other connector using the Modify a Connector Schema Config endpoint:
PATCH https://api.fivetran.com/v1/connectors/{connector_id}/schemas