Data Sources
List Pipeline Data Sources
client.Pipelines.DataSources.GetDataSources(ctx, pipelineID) (*[]PipelineDataSource, error)
GET/api/v1/pipelines/{pipeline_id}/data-sources
Add Data Sources To Pipeline
client.Pipelines.DataSources.UpdateDataSources(ctx, pipelineID, body) (*[]PipelineDataSource, error)
PUT/api/v1/pipelines/{pipeline_id}/data-sources
Update Pipeline Data Source
client.Pipelines.DataSources.Update(ctx, dataSourceID, params) (*PipelineDataSource, error)
PUT/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}
Get Pipeline Data Source Status
client.Pipelines.DataSources.GetStatus(ctx, dataSourceID, query) (*ManagedIngestionStatusResponse, error)
GET/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}/status
Sync Pipeline Data Source
client.Pipelines.DataSources.Sync(ctx, dataSourceID, params) (*Pipeline, error)
POST/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}/sync
ModelsExpand Collapse
type PipelineDataSource struct{…}
type PipelineDataSource struct{…}
Schema for a data source in a pipeline.
Component PipelineDataSourceComponentUnion
Component PipelineDataSourceComponentUnion
Component that implements the data source
One of the following:
type CloudAzStorageBlobDataSource struct{…}
type CloudAzStorageBlobDataSource struct{…}
type CloudSharepointDataSource struct{…}
type CloudSharepointDataSource struct{…}
ExcludePathPatterns []stringoptional
ExcludePathPatterns []stringoptional
List of regex patterns for file paths to exclude. Files whose paths (including filename) match any pattern will be excluded. Example: [‘/temp/’, ‘/backup/’, ‘.git/’, ‘.tmp$’, ’^~’]
type CloudConfluenceDataSource struct{…}
type CloudConfluenceDataSource struct{…}
type CloudJiraDataSource struct{…}
type CloudJiraDataSource struct{…}
type CloudJiraDataSourceV2 struct{…}
type CloudJiraDataSourceV2 struct{…}
type CloudBoxDataSource struct{…}
type CloudBoxDataSource struct{…}
AuthenticationMechanism CloudBoxDataSourceAuthenticationMechanism
AuthenticationMechanism CloudBoxDataSourceAuthenticationMechanism
The type of authentication to use (Developer Token or CCG)
ClientID stringoptional
ClientID stringoptional
Box API key used for identifying the application the user is authenticating with
SourceType PipelineDataSourceSourceType
SourceType PipelineDataSourceSourceType
One of the following:
const PipelineDataSourceSourceTypeAzureStorageBlob PipelineDataSourceSourceType = "AZURE_STORAGE_BLOB"
const PipelineDataSourceSourceTypeMicrosoftOnedrive PipelineDataSourceSourceType = "MICROSOFT_ONEDRIVE"
Status PipelineDataSourceStatusoptional
Status PipelineDataSourceStatusoptional
The status of the data source in the pipeline.
One of the following:
Version metadata for the data source
ReaderVersion DataSourceReaderVersionMetadataReaderVersionoptional
ReaderVersion DataSourceReaderVersionMetadataReaderVersionoptional