Relativity.Import.V1.Services.IImportSourceController
Controller for data sources management.
Task<Response> AddSourceAsync(int workspaceID, Guid importJobID, Guid sourceID, DataSourceSettings dataSourceSettings)
Creates new data source and links it to the existing import job.
Task<Response> AddSourceStreamAsync(int workspaceID, Guid importJobID, Guid sourceID, DataSourceSettings dataSourceSettings, IKeplerStream stream)
Creates new data source being Kepler stream and links it to the existing import job.
Deletes the parent folder of the data source's load file if it is located in \StructuredData\Import\.
Returns list of column names read from the load file.
Applied only when 'FirstLineContainsColumnNames 'is configured.
Task<ValueResponse<DataSourceDetails>> GetDetailsAsync(int workspaceID, Guid importJobID, Guid sourceID)
Returns DataSource details for provided sourceID containing its state and current configuration.
Returns path to the load file containing lines for which errors were reported.
NOTE: if data source has no error, path will be empty.
Task<ValueResponse<ImportErrors>> GetErrorsAsync(int workspaceID, Guid importJobID, Guid sourceID, int start = 0, int length = 1000)
Returns details about all errors reported during import for a single source. Result is paginated.
Task<ValueResponse<ImportErrors>> GetItemErrorsAsync(int workspaceID, Guid importJobID, Guid sourceID, int start = 0, int length = 1000)
Returns details about item errors reported during import for a single source. Result is paginated.
Task<ValueResponse<ImportProgress>> GetProgressAsync(int workspaceID, Guid importJobID, Guid sourceID)
Returns details about progress for specific import data source.