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

    pipeline_id uuidrequired
    data_source_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

    component

    object

    required

    anyOf

    bucket Bucket (string)required

    The name of the S3 bucket to read from.

    prefix

    object

    The prefix of the S3 objects to read from.

    anyOf

    string

    aws_access_id

    object

    The AWS access ID to use for authentication.

    anyOf

    string

    aws_access_secret

    object

    The AWS access secret to use for authentication.

    anyOf

    string

    s3_endpoint_url

    object

    The S3 endpoint URL to use for authentication.

    anyOf

    string

    class_name Class Name (string)

    Default value: CloudS3DataSource

    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

Loading...