Data Sources
Get Data Source
client.DataSources.Get(ctx, dataSourceID) (*DataSource, error)
GET/api/v1/data-sources/{data_source_id}
Update Data Source
client.DataSources.Update(ctx, dataSourceID, body) (*DataSource, error)
PUT/api/v1/data-sources/{data_source_id}
Delete Data Source
client.DataSources.Delete(ctx, dataSourceID) error
DELETE/api/v1/data-sources/{data_source_id}
ModelsExpand Collapse
type DataSource struct{…}
type DataSource struct{…}
Schema for a data source.
Component DataSourceComponentUnion
Component DataSourceComponentUnion
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
Version metadata for the data source
ReaderVersion DataSourceReaderVersionMetadataReaderVersionoptional
ReaderVersion DataSourceReaderVersionMetadataReaderVersionoptional
type DataSourceReaderVersionMetadata struct{…}
type DataSourceReaderVersionMetadata struct{…}
ReaderVersion DataSourceReaderVersionMetadataReaderVersionoptional
ReaderVersion DataSourceReaderVersionMetadataReaderVersionoptional