In this section: Build
Start
Reference code
- obsp (C)
- Conformance runner (reference service)
- obsp (Go)
- Plugfests (non-normative groundwork)
- Python reference pipelines (draft profiles, synthetic data)
- obsp-eo
- obsp-model-run (draft OIP-0012, MODEL-OBSERVER)
- obsp-sensing (draft OIP-0011, NETWORK-SENSING, provisional)
- obsp-space
- Rust reference workspace
- Performance bench (WP-RI-11)
- The 0.2 candidate (DRAFT)
- obsp-core (Rust reference library)
- obsp-federation
- obsp-node-embedded
- Node agent (obsp-node)
- Evidence verifier (obsp-verify)
- obsp-sdk (TypeScript / ES modules)
Tools
API reference
- All APIs
- Observatory Protocol service administration (production services)
- Observatory Protocol CloudEvents (draft OIP-0024 binding)
- Observatory Protocol correction subscriptions
- Observatory Protocol credential status (reference service)
- Observatory Protocol discovery (reference service)
- Observatory Protocol exchange API (reference)
- Observatory Protocol federation sync (draft OIP-0004)
- Observatory Protocol Field Topic Contract (MQTT 5 and Sparkplug B)
- Observatory Protocol participant gateway
- gRPC services
- Observatory Protocol implementations and conformance registry (reference service)
- Observatory Protocol transparency log (reference service)
- Observatory Protocol WIS 2.0 notifications (draft OIP-0009 binding)
Public services
Bindings and crosswalks
Observatory Protocol exchange API (reference)
On this page
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.
| Field | Value |
|---|---|
| Document | schemas/openapi/obsp-exchange-plane.openapi.yaml |
| Format | OpenAPI 3.1.0 |
| Version | 0.2.0-draft |
Servers
| Address | Description |
|---|---|
http://127.0.0.1:8080 | The reference gateway on loopback |
Operations
| Method | Path | Summary | Operation |
|---|---|---|---|
GET | / | Landing page | getLandingPage |
GET | /conformance | Conformance classes the endpoint declares (BND-OGCAPI-02) | getConformance |
GET | /collections | Every product served, one collection each, and the catalogue | getCollections |
GET | /collections/{collectionId} | One product as a collection, with its version, correction state and evidence links (BND-OGCAPI-03) | describeCollection |
GET | /collections/{collectionId}/items | Observation records of a product as features, or catalogue records when the collection is the catalogue | getItems |
GET | /collections/{collectionId}/items/{featureId} | One observation record as a feature, or one catalogue record | getItem |
GET | /collections/{collectionId}/position | Observations at a position (EDR position query, BND-OGCAPI-08) | queryPosition |
GET | /collections/{collectionId}/area | Observations in an area (EDR area query, BND-OGCAPI-08) | queryArea |
GET | /collections/{collectionId}/cube | Observations in a box and a vertical range (EDR cube query, BND-OGCAPI-08) | queryCube |
GET | /api | The API definition (this document as JSON) | getApi |
GET | /collections/{collectionId}/queryables | Queryables (OGC API - Features - Part 3) | getQueryables |
GET | /collections/{collectionId}/sortables | Sortables | getSortables |
GET | /collections/{collectionId}/radius | EDR radius query | getRadius |
GET | /collections/{collectionId}/trajectory | EDR trajectory query | getTrajectory |
GET | /collections/{collectionId}/locations | EDR locations | getLocations |
GET | /collections/{collectionId}/locations/{locId} | EDR data at a location | getLocation |
GET | /sta/v1.1 | SensorThings 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, $count | getSensorThingsResource |
GET | /stac | STAC API landing page (Catalog) | getStacRoot |
GET | /stac/conformance | STAC API conformance | getStacConformance |
GET | /stac/queryables | Queryables for item search | getStacQueryables |
GET | /stac/collections | STAC Collections, one per product | getStacCollections |
GET | /stac/collections/{collectionId} | A STAC Collection with the obsp extension | getStacCollection |
GET | /stac/collections/{collectionId}/queryables | Queryables of a collection | getStacCollectionQueryables |
GET | /stac/collections/{collectionId}/items | Items of a collection | getStacItems |
GET | /stac/collections/{collectionId}/items/{itemId} | A product version as a STAC Item | getStacItem |
GET | /stac/search | Item search (GET) | searchStacGet |
POST | /stac/search | Item search (POST; reads a body, changes nothing) | searchStacPost |
GET | /wis2/notifications | WIS 2.0 notification messages the MQTT publisher sends, after a cursor | getWis2Notifications |
GET | /cap/alerts.atom | Atom feed of CAP 1.2 alerts | getCapFeed |
GET | /cap/alerts/{alertId} | One CAP 1.2 message | getCapAlert |
GET | /events | CloudEvents after a cursor (JSON batch format) | getEvents |
GET | /events/stream | Server-Sent Events: id is the log sequence (Last-Event-ID resumes), data the CloudEvent | streamEvents |
GET | /subscriptions | Webhook subscriptions | listSubscriptions |
POST | /subscriptions | Create a signed webhook subscription; the signing secret is answered once | createSubscription |
GET | /subscriptions/{subscriptionId} | A subscription with its cursor and dead-letter count | getSubscription |
DELETE | /subscriptions/{subscriptionId} | Delete a subscription | deleteSubscription |
GET | /subscriptions/{subscriptionId}/dead-letters | Events not delivered after the last attempt | getDeadLetters |
POST | /subscriptions/{subscriptionId}/replay | Deliver every event after a cursor again, dead letters included | replaySubscription |
Objects
Link, EvidenceLinks, CorrectionState, LandingPage, Conformance, Collection, FeatureCollection, ObservationFeature, CatalogueRecord