Skip to main content

API Reference

This section is organized by operational domain rather than by raw path dump.

Use these pages together:

Interactive API Surfaces

  • Swagger UI: /docs
  • OpenAPI JSON: /openapi.json

These should remain the source of truth for exact request and response schemas.

Scope Note

The checked-in openapi.json is useful, but on this branch some newer routes have landed in the router code before the exported schema was refreshed. The pages in this section were assembled from both the OpenAPI snapshot and the active route modules under routers/.

Route Families

DomainWhat it covers
Datasetsingestion, deduplication, CSW search and registration, point queries, thumbnails, cache seeding
OGCWMS/WCS/WFS dispatch, multi-dataset requests, style SLDs, mapcache proxy routes
Terrainterrain tile generation, TileJSON, MBTiles unpacking, mago terrain helpers
Jobsasync submission, polling, cleanup, HySpex campaigns, metadata repair
Runtime and adminconfig, auth, health, root redirect, storage cleanup, cache-layer operations, viewer pages

How To Use This Section

  • Start with the domain page for your workflow.
  • Use Swagger UI when you need exact request bodies, query parameters, or live response schemas.
  • Use Operator Workflows when you need task-oriented guidance rather than endpoint lookup.
Route familyPurpose
GET /wms/{dataset_id}dataset WMS
GET or POST /wms/multimulti-dataset WMS
GET /wcs/{dataset_id}coverage export
GET /wfs/{dataset_id}footprint feature access

Terrain

Route familyPurpose
POST /terrain/{dataset_id}/generatecreate terrain tiles
GET /terrain/{dataset_id}/tilejson.jsonTileJSON
GET /terrain/{dataset_id}/tiles/{z}/{x}/{y}.pngXYZ tile
POST /terrain/mergemerge datasets
POST /terrain/magoCesium terrain generation

Jobs

Route familyPurpose
GET /jobslist jobs
GET /jobs/{job_id}inspect job
POST /jobs/{job_id}/cancelcancel job
DELETE /jobs/{job_id}delete job record
POST /jobs/hyspex-csw-parentqueue HySpex parent batch
GET /jobs/hyspex-csw-campaigns/{campaign_id}aggregate campaign status

MapCache and Config

Route familyPurpose
GET /configread effective config
POST /configpersist config changes
GET /mapcache/cache/layerslist cache layers
POST /mapcache/cache/cleanupcleanup tiles
POST /mapcache/cache/cleanup-layersremove whole cache layers

Auth and Viewer Routes

Route familyPurpose
POST /token and POST /loginissue bearer token
GET /ui/legacy operator frontend
GET /ui-react/React operator frontend
GET /maplibre/viewbrowser map viewer
GET /cesium/*Cesium test and helper pages

Suggested Usage Pattern

Use this documentation for platform-level behavior and workflows, and use Swagger UI when you need:

  • exact request bodies
  • query parameter constraints
  • current response schema details
  • endpoint-by-endpoint try-it-now validation