All URIs are relative to https://geoengine.io/api
| Method | HTTP request | Description |
|---|---|---|
| addDatasetTilesHandler | POST /dataset/{dataset}/tiles | Add a tile to a gdal dataset. |
| autoCreateDatasetHandler | POST /dataset/auto | Creates a new dataset using previously uploaded files. The format of the files will be automatically detected when possible. |
| createDatasetHandler | POST /dataset | Creates a new dataset referencing files. Users can reference previously uploaded files. Admins can reference files from a volume. |
| deleteDatasetHandler | DELETE /dataset/{dataset} | Delete a dataset |
| getDatasetHandler | GET /dataset/{dataset} | Retrieves details about a dataset using the internal name. |
| getLoadingInfoHandler | GET /dataset/{dataset}/loadingInfo | Retrieves the loading information of a dataset |
| listDatasetsHandler | GET /datasets | Lists available datasets. |
| listVolumeFileLayersHandler | GET /dataset/volumes/{volume_name}/files/{file_name}/layers | List the layers of a file in a volume. |
| listVolumesHandler | GET /dataset/volumes | Lists available volumes. |
| suggestMetaDataHandler | POST /dataset/suggest | Inspects an upload and suggests metadata that can be used when creating a new dataset based on it. Tries to automatically detect the main file and layer name if not specified. |
| updateDatasetHandler | POST /dataset/{dataset} | Update details about a dataset using the internal name. |
| updateDatasetProvenanceHandler | PUT /dataset/{dataset}/provenance | |
| updateDatasetSymbologyHandler | PUT /dataset/{dataset}/symbology | Updates the dataset's symbology |
| updateLoadingInfoHandler | PUT /dataset/{dataset}/loadingInfo | Updates the dataset's loading info |
addDatasetTilesHandler(dataset, autoCreateDataset)
Add a tile to a gdal dataset.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { AddDatasetTilesHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset Name
dataset: dataset_example,
// AutoCreateDataset
autoCreateDataset: ...,
} satisfies AddDatasetTilesHandlerRequest;
try {
const data = await api.addDatasetTilesHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset Name | [Defaults to undefined] |
| autoCreateDataset | AutoCreateDataset |
void (Empty response body)
- Content-Type:
application/json - Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DatasetNameResponse autoCreateDatasetHandler(autoCreateDataset)
Creates a new dataset using previously uploaded files. The format of the files will be automatically detected when possible.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { AutoCreateDatasetHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// AutoCreateDataset
autoCreateDataset: ...,
} satisfies AutoCreateDatasetHandlerRequest;
try {
const data = await api.autoCreateDatasetHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| autoCreateDataset | AutoCreateDataset |
- Content-Type:
application/json - Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
| 413 | Payload too large | - |
| 415 | Media type of application/json is expected | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DatasetNameResponse createDatasetHandler(createDataset)
Creates a new dataset referencing files. Users can reference previously uploaded files. Admins can reference files from a volume.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { CreateDatasetHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// CreateDataset
createDataset: ...,
} satisfies CreateDatasetHandlerRequest;
try {
const data = await api.createDatasetHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| createDataset | CreateDataset |
- Content-Type:
application/json - Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteDatasetHandler(dataset)
Delete a dataset
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { DeleteDatasetHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset id
dataset: dataset_example,
} satisfies DeleteDatasetHandlerRequest;
try {
const data = await api.deleteDatasetHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset id | [Defaults to undefined] |
void (Empty response body)
- Content-Type: Not defined
- Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Dataset getDatasetHandler(dataset)
Retrieves details about a dataset using the internal name.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { GetDatasetHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset Name
dataset: dataset_example,
} satisfies GetDatasetHandlerRequest;
try {
const data = await api.getDatasetHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset Name | [Defaults to undefined] |
- Content-Type: Not defined
- Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MetaDataDefinition getLoadingInfoHandler(dataset)
Retrieves the loading information of a dataset
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { GetLoadingInfoHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset Name
dataset: dataset_example,
} satisfies GetLoadingInfoHandlerRequest;
try {
const data = await api.getLoadingInfoHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset Name | [Defaults to undefined] |
- Content-Type: Not defined
- Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Array<DatasetListing> listDatasetsHandler(order, offset, limit, filter, tags)
Lists available datasets.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { ListDatasetsHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// OrderBy
order: NameAsc,
// number
offset: 0,
// number
limit: 2,
// string (optional)
filter: Germany,
// Array<string> (optional)
tags: ['tag1', 'tag2'],
} satisfies ListDatasetsHandlerRequest;
try {
const data = await api.listDatasetsHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| order | OrderBy |
[Defaults to undefined] [Enum: NameAsc, NameDesc] |
|
| offset | number |
[Defaults to undefined] |
|
| limit | number |
[Defaults to undefined] |
|
| filter | string |
[Optional] [Defaults to undefined] |
|
| tags | Array<string> |
[Optional] |
- Content-Type: Not defined
- Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VolumeFileLayersResponse listVolumeFileLayersHandler(volumeName, fileName)
List the layers of a file in a volume.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { ListVolumeFileLayersHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Volume name
volumeName: volumeName_example,
// string | File name
fileName: fileName_example,
} satisfies ListVolumeFileLayersHandlerRequest;
try {
const data = await api.listVolumeFileLayersHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| volumeName | string |
Volume name | [Defaults to undefined] |
| fileName | string |
File name | [Defaults to undefined] |
- Content-Type: Not defined
- Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Array<Volume> listVolumesHandler()
Lists available volumes.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { ListVolumesHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
try {
const data = await api.listVolumesHandler();
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MetaDataSuggestion suggestMetaDataHandler(suggestMetaData)
Inspects an upload and suggests metadata that can be used when creating a new dataset based on it. Tries to automatically detect the main file and layer name if not specified.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { SuggestMetaDataHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// SuggestMetaData
suggestMetaData: ...,
} satisfies SuggestMetaDataHandlerRequest;
try {
const data = await api.suggestMetaDataHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| suggestMetaData | SuggestMetaData |
- Content-Type:
application/json - Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateDatasetHandler(dataset, updateDataset)
Update details about a dataset using the internal name.
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { UpdateDatasetHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset Name
dataset: dataset_example,
// UpdateDataset
updateDataset: ...,
} satisfies UpdateDatasetHandlerRequest;
try {
const data = await api.updateDatasetHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset Name | [Defaults to undefined] |
| updateDataset | UpdateDataset |
void (Empty response body)
- Content-Type:
application/json - Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateDatasetProvenanceHandler(dataset, provenances)
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { UpdateDatasetProvenanceHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset Name
dataset: dataset_example,
// Provenances
provenances: ...,
} satisfies UpdateDatasetProvenanceHandlerRequest;
try {
const data = await api.updateDatasetProvenanceHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset Name | [Defaults to undefined] |
| provenances | Provenances |
void (Empty response body)
- Content-Type:
application/json - Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateDatasetSymbologyHandler(dataset, symbology)
Updates the dataset's symbology
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { UpdateDatasetSymbologyHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset Name
dataset: dataset_example,
// Symbology
symbology: ...,
} satisfies UpdateDatasetSymbologyHandlerRequest;
try {
const data = await api.updateDatasetSymbologyHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset Name | [Defaults to undefined] |
| symbology | Symbology |
void (Empty response body)
- Content-Type:
application/json - Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateLoadingInfoHandler(dataset, metaDataDefinition)
Updates the dataset's loading info
import {
Configuration,
DatasetsApi,
} from '@geoengine/api-client';
import type { UpdateLoadingInfoHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("π Testing @geoengine/api-client SDK...");
const config = new Configuration({
// Configure HTTP bearer authorization: session_token
accessToken: "YOUR BEARER TOKEN",
});
const api = new DatasetsApi(config);
const body = {
// string | Dataset Name
dataset: dataset_example,
// MetaDataDefinition
metaDataDefinition: ...,
} satisfies UpdateLoadingInfoHandlerRequest;
try {
const data = await api.updateLoadingInfoHandler(body);
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);| Name | Type | Description | Notes |
|---|---|---|---|
| dataset | string |
Dataset Name | [Defaults to undefined] |
| metaDataDefinition | MetaDataDefinition |
void (Empty response body)
- Content-Type:
application/json - Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad request | - |
| 401 | Authorization failed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]