Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

In this section: Build
Start
Reference code
Tools
API reference
Public services
Agents
Bindings and crosswalks

Observatory Protocol exchange API (reference)

Source schemas/openapi/obsp-exchange-plane.openapi.yaml

On this page
  1. Servers
  2. Operations
  3. Objects

The exchange plane as the reference crate obsp-exchange serves it, mounted at the root of the reference gateway. It implements the DRAFT proposals OIP-0001 (read APIs), OIP-0005 (CAP alerts), OIP-0009 (WIS 2.0, STAC obsp extension, OGC API Features, EDR and Records) and OIP-0024 (CloudEvents, gRPC, SensorThings); none of them is accepted, so this document is not a protocol contract. It covers OGC API - Common Parts 1 and 2, OGC API - Features Parts 1 to 3 (CRS by reference, CQL2 filtering), OGC API - EDR 1.1 (CoverageJSON), OGC API - Records - Part 1, OGC SensorThings API 1.1 (read), STAC API 1.0 with the obsp extension, WIS 2.0 notifications (also published over MQTT 5), a CAP 1.2 alert feed, CloudEvents 1.0 over HTTP, Server-Sent Events, WebSocket and signed webhooks. Every projection is correction-aware: a superseded, withdrawn or recalled version is served with its state and a link to its successor, never dropped. Every route is read-only toward sites (EXCH-3); STAC POST search reads a body and changes nothing; the subscription routes change delivery state only. The WebSocket stream at /events/ws (query cursor, product, type; one text frame per CloudEvent) is not described here, as OpenAPI has no WebSocket operations. Errors are problem documents (RFC 9457) in the ErrorProblem contract. The standards are cited by name and edition; this document is not a statement that the implementation conforms to them.

FieldValue
Documentschemas/openapi/obsp-exchange-plane.openapi.yaml
FormatOpenAPI 3.1.0
Version0.2.0-draft

Servers

AddressDescription
http://127.0.0.1:8080The reference gateway on loopback

Operations

MethodPathSummaryOperation
GET/Landing pagegetLandingPage
GET/conformanceConformance classes the endpoint declares (BND-OGCAPI-02)getConformance
GET/collectionsEvery product served, one collection each, and the cataloguegetCollections
GET/collections/{collectionId}One product as a collection, with its version, correction state and evidence links (BND-OGCAPI-03)describeCollection
GET/collections/{collectionId}/itemsObservation records of a product as features, or catalogue records when the collection is the cataloguegetItems
GET/collections/{collectionId}/items/{featureId}One observation record as a feature, or one catalogue recordgetItem
GET/collections/{collectionId}/positionObservations at a position (EDR position query, BND-OGCAPI-08)queryPosition
GET/collections/{collectionId}/areaObservations in an area (EDR area query, BND-OGCAPI-08)queryArea
GET/collections/{collectionId}/cubeObservations in a box and a vertical range (EDR cube query, BND-OGCAPI-08)queryCube
GET/apiThe API definition (this document as JSON)getApi
GET/collections/{collectionId}/queryablesQueryables (OGC API - Features - Part 3)getQueryables
GET/collections/{collectionId}/sortablesSortablesgetSortables
GET/collections/{collectionId}/radiusEDR radius querygetRadius
GET/collections/{collectionId}/trajectoryEDR trajectory querygetTrajectory
GET/collections/{collectionId}/locationsEDR locationsgetLocations
GET/collections/{collectionId}/locations/{locId}EDR data at a locationgetLocation
GET/sta/v1.1SensorThings API 1.1 service root (OGC 18-088)getSensorThingsRoot
GET/sta/v1.1/{path}SensorThings resource path (read only), with $filter, $expand, $select, $orderby, $top, $skip, $countgetSensorThingsResource
GET/stacSTAC API landing page (Catalog)getStacRoot
GET/stac/conformanceSTAC API conformancegetStacConformance
GET/stac/queryablesQueryables for item searchgetStacQueryables
GET/stac/collectionsSTAC Collections, one per productgetStacCollections
GET/stac/collections/{collectionId}A STAC Collection with the obsp extensiongetStacCollection
GET/stac/collections/{collectionId}/queryablesQueryables of a collectiongetStacCollectionQueryables
GET/stac/collections/{collectionId}/itemsItems of a collectiongetStacItems
GET/stac/collections/{collectionId}/items/{itemId}A product version as a STAC ItemgetStacItem
GET/stac/searchItem search (GET)searchStacGet
POST/stac/searchItem search (POST; reads a body, changes nothing)searchStacPost
GET/wis2/notificationsWIS 2.0 notification messages the MQTT publisher sends, after a cursorgetWis2Notifications
GET/cap/alerts.atomAtom feed of CAP 1.2 alertsgetCapFeed
GET/cap/alerts/{alertId}One CAP 1.2 messagegetCapAlert
GET/eventsCloudEvents after a cursor (JSON batch format)getEvents
GET/events/streamServer-Sent Events: id is the log sequence (Last-Event-ID resumes), data the CloudEventstreamEvents
GET/subscriptionsWebhook subscriptionslistSubscriptions
POST/subscriptionsCreate a signed webhook subscription; the signing secret is answered oncecreateSubscription
GET/subscriptions/{subscriptionId}A subscription with its cursor and dead-letter countgetSubscription
DELETE/subscriptions/{subscriptionId}Delete a subscriptiondeleteSubscription
GET/subscriptions/{subscriptionId}/dead-lettersEvents not delivered after the last attemptgetDeadLetters
POST/subscriptions/{subscriptionId}/replayDeliver every event after a cursor again, dead letters includedreplaySubscription

Objects

Link, EvidenceLinks, CorrectionState, LandingPage, Conformance, Collection, FeatureCollection, ObservationFeature, CatalogueRecord