Skip to main content

Upsert connection sync config

PUT 

/connection_sync_configs

Use this to override SyncConfig and Destination configurations on a per customer-connection basis. E.g. you can override the objects that are synced per customer-connection as well as override the table/collection that these objects are written into.

Request

Header Parameters

    x-customer-id stringrequired

    The customer ID that uniquely identifies the customer in your application

    Example: my-customer-1
    x-provider-name stringrequired

    The provider name

    Example: salesforce

Body

required
    destination_config object

    An object to override the default Destination configuration per connection.

    oneOf
    type stringrequired

    Possible values: [postgres]

    schema stringrequired

    The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.

    standard_objects object[]

    A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.

  • Array [
  • oneOf
    object stringrequired

    The Provider object name (case sensitive)

  • ]
  • custom_objects object[]

    (Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.

  • Array [
  • oneOf
    object stringrequired

    The Provider object name (case sensitive)

  • ]

Responses

Connection Sync Config

Schema
    destination_config object

    An object to override the default Destination configuration per connection.

    oneOf
    type stringrequired

    Possible values: [postgres]

    schema stringrequired

    The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.

    standard_objects object[]

    A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.

  • Array [
  • oneOf
    object stringrequired

    The Provider object name (case sensitive)

  • ]
  • custom_objects object[]

    (Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.

  • Array [
  • oneOf
    object stringrequired

    The Provider object name (case sensitive)

  • ]
Loading...