feat: add governed hydrology and historical imagery
This commit is contained in:
@@ -17,6 +17,7 @@ import type {
|
||||
RasterNdwiRequest,
|
||||
RasterNdbiRequest,
|
||||
OrthophotoAcquireRequest,
|
||||
OrthophotoProductRead,
|
||||
} from '../../types'
|
||||
|
||||
export const datasetsApi = {
|
||||
@@ -84,6 +85,10 @@ export const datasetsApi = {
|
||||
},
|
||||
acquireOrthophoto: (projectId: string, payload: OrthophotoAcquireRequest): Promise<JobRead> =>
|
||||
apiPost<JobRead>(`/api/v1/projects/${projectId}/datasets/orthophoto/acquire`, payload),
|
||||
listOrthophotoProducts: (projectId: string): Promise<{ items: OrthophotoProductRead[]; total: number }> =>
|
||||
apiGet<{ items: OrthophotoProductRead[]; total: number }>(`/api/v1/projects/${projectId}/datasets/orthophoto/products`),
|
||||
orthophotoImageUrl: (projectId: string, datasetId: string): string =>
|
||||
`/api/v1/projects/${projectId}/datasets/${datasetId}/raster/image`,
|
||||
refreshMetadata: (projectId: string, datasetId: string): Promise<DatasetCreateResponse> =>
|
||||
apiPost<DatasetCreateResponse>(`/api/v1/projects/${projectId}/datasets/${datasetId}/metadata/refresh`, {}),
|
||||
inspectRaster: (projectId: string, datasetId: string): Promise<RasterInspectResponse> =>
|
||||
|
||||
Reference in New Issue
Block a user