All URIs are relative to https://geoengine.io/api
| Method | HTTP request | Description |
|---|---|---|
| availableHandler | GET /available | Server availablity check. |
| serverInfoHandler | GET /info | Shows information about the server software version. |
availableHandler()
Server availablity check.
import {
Configuration,
GeneralApi,
} from '@geoengine/api-client';
import type { AvailableHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("🚀 Testing @geoengine/api-client SDK...");
const api = new GeneralApi();
try {
const data = await api.availableHandler();
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);This endpoint does not need any parameter.
void (Empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | Server availablity check | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ServerInfo serverInfoHandler()
Shows information about the server software version.
import {
Configuration,
GeneralApi,
} from '@geoengine/api-client';
import type { ServerInfoHandlerRequest } from '@geoengine/api-client';
async function example() {
console.log("🚀 Testing @geoengine/api-client SDK...");
const api = new GeneralApi();
try {
const data = await api.serverInfoHandler();
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept:
application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Server software information | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]