Skip to main content

Update Pipeline Data Source

PUT 

/api/v1/pipelines/:pipeline_id/data-sources/:data_source_id

Update the configuration of a data source in a pipeline.

Request

Path Parameters

    data_source_id uuidrequired
    pipeline_id uuidrequired

Cookie Parameters

    session any

Body

required

    sync_interval

    object

    The interval at which the data source should be synced.

    anyOf

    number

Responses

Successful Response

Schema

    id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    name Name (string)required

    The name of the data source.

    source_type ConfigurableDataSourceNames (string)required

    Possible values: [S3, AZURE_STORAGE_BLOB, GOOGLE_DRIVE, MICROSOFT_ONEDRIVE, MICROSOFT_SHAREPOINT, SLACK, NOTION_PAGE, CONFLUENCE, JIRA, BOX]

    custom_metadata

    object

    Custom metadata that will be present on all data loaded from the data source

    anyOf

    property name*

    object

    anyOf

    object

    component

    object

    required

    Component that implements the data source

    anyOf

    object

    project_id uuidrequired
    data_source_id uuidrequired

    The ID of the data source.

    pipeline_id uuidrequired

    The ID of the pipeline.

    last_synced_at date-timerequired

    The last time the data source was automatically synced.

    sync_interval

    object

    The interval at which the data source should be synced.

    anyOf

    number

    sync_schedule_set_by

    object

    The id of the user who set the sync schedule.

    anyOf

    string