Add official source edition probes
This commit is contained in:
@@ -28,6 +28,7 @@ import type {
|
||||
ThematicRasterProductRead,
|
||||
ThematicRasterSelectionResponse,
|
||||
SourceFreshnessReport,
|
||||
SourceCatalogProbeReport,
|
||||
} from '../../types'
|
||||
|
||||
const DATASET_PAGE_SIZE = 200
|
||||
@@ -61,6 +62,10 @@ export const datasetsApi = {
|
||||
list: listProjectDatasets,
|
||||
sourceFreshness: (projectId: string): Promise<SourceFreshnessReport> =>
|
||||
apiGet<SourceFreshnessReport>(`/api/v1/projects/${projectId}/datasets/source-freshness`),
|
||||
sourceCatalogProbes: (projectId: string, refresh = false): Promise<SourceCatalogProbeReport> =>
|
||||
apiGet<SourceCatalogProbeReport>(
|
||||
`/api/v1/projects/${projectId}/datasets/source-catalog-probes?refresh=${refresh ? 'true' : 'false'}`,
|
||||
),
|
||||
upload: (
|
||||
projectId: string,
|
||||
payload: {
|
||||
|
||||
Reference in New Issue
Block a user