Registry Relay API (0.1.0)

Download OpenAPI specification:

License: Apache-2.0

Read-only data gateway exposing entity records, catalog metadata, and SHACL/DCAT-AP shapes for governed datasets.

Abstract HTTP contract for Registry Relay v0.1. Paths use placeholders ({dataset_id}, {entity}, {id}, ...) because dataset and entity names are runtime configuration, not part of the contract. For the instance-specific document that lists the concrete datasets and entities exposed by one running gateway, fetch the auth-gated GET /openapi.json route on that deployment. Hand-authored from docs/api.md; keep both in sync.

Service

Liveness, readiness, and the local Scalar API reference shell.

Liveness probe

Returns 200 OK when the process is running. Unauthenticated. Use this for container liveness probes.

Responses

Response samples

Content type
application/json
{
  • "status": "ok"
}

Readiness probe

Returns 200 OK once startup ingest and metadata compilation have completed. Unauthenticated. Use this for container readiness probes.

Responses

Response samples

Content type
application/json
{
  • "status": "ready"
}

Local Scalar API reference shell

Serves an HTML page that loads the auth-gated GET /openapi.json document after the caller pastes a bearer token. The HTML itself is unauthenticated and contains no catalog data.

Responses

Scalar viewer script bundle

Static JavaScript bundle that powers the /docs Scalar viewer shell. Unauthenticated; contains no catalog data.

Responses

Catalog

Dataset discovery: catalog listing, dataset summaries, entity JSON Schemas.

List datasets

Returns every dataset visible to the caller's metadata scopes.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Dataset summary

Returns the dataset summary: entities, publishers, sensitivity, update frequency, and links to JSON, JSON-LD, and SHACL artifacts. Acts as Relay-native discovery for the standards adapters mounted under /ogc/v1/* and /dci/*.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/json
{ }

Entity JSON Schema

Returns the Draft 2020-12 JSON Schema for one entity, scoped to the caller's metadata visibility.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

Responses

Response samples

Content type
application/schema+json
{ }

Records

Entity collection, single record, and relationship reads. Field set, allowed filters, and required filters are per-entity configuration.

List entity records

Returns paginated entity records. Supports projection via fields, relationship expansion via expand, configured filters via <field>[.<op>] query parameters, opaque cursor pagination, and If-None-Match conditional requests. Entities with require_purpose_header: true require the Data-Purpose header. Entities with required_filters reject unfiltered enumeration.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

query Parameters
limit
integer >= 1

Maximum records to return on a single page. Capped by the entity's configured max_limit.

cursor
string

Opaque server-owned pagination cursor. Pass the value from a previous response's pagination.next_cursor field unchanged.

fields
string

Comma-separated projection of fields to return. Only fields declared in entities[*].fields are addressable.

expand
string

Comma-separated list of relationships to expand inline, drawn from entities[*].api.allowed_expansions.

header Parameters
Data-Purpose
string <uri>

Stable, reviewable purpose IRI. Required when the entity has require_purpose_header: true. Recorded in audit logs; never put secrets or personal data here.

If-None-Match
string

Conditional-request validator. The gateway returns 304 Not Modified when the validator matches the current page.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get one entity record

Returns one entity record by primary key. fields projection, expand expansion, and the Data-Purpose header behave the same as on the collection route.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

id
required
string

Primary key of one entity record.

query Parameters
fields
string

Comma-separated projection of fields to return. Only fields declared in entities[*].fields are addressable.

expand
string

Comma-separated list of relationships to expand inline, drawn from entities[*].api.allowed_expansions.

header Parameters
Data-Purpose
string <uri>

Stable, reviewable purpose IRI. Required when the entity has require_purpose_header: true. Recorded in audit logs; never put secrets or personal data here.

If-None-Match
string

Conditional-request validator. The gateway returns 304 Not Modified when the validator matches the current page.

Accept
string
Enum: "application/json" "application/vc+jwt"

Opt in to a VC-JWT compact serialization. Available only when provenance.enabled: true.

Responses

Response samples

Content type
{ }

Get records related to one entity

Returns records reachable from one entity record via a declared relationship. Pagination, projection, filtering, and the Data-Purpose header behave the same as on the collection route.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

id
required
string

Primary key of one entity record.

relationship
required
string

Configured relationship name on the source entity.

query Parameters
limit
integer >= 1

Maximum records to return on a single page. Capped by the entity's configured max_limit.

cursor
string

Opaque server-owned pagination cursor. Pass the value from a previous response's pagination.next_cursor field unchanged.

fields
string

Comma-separated projection of fields to return. Only fields declared in entities[*].fields are addressable.

header Parameters
Data-Purpose
string <uri>

Stable, reviewable purpose IRI. Required when the entity has require_purpose_header: true. Recorded in audit logs; never put secrets or personal data here.

If-None-Match
string

Conditional-request validator. The gateway returns 304 Not Modified when the validator matches the current page.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Aggregates

Pre-declared aggregate discovery and execution. Disclosure control is per-aggregate configuration. Indicator and dimension discovery routes are dataset-scoped and generated from the aggregate declarations: reused identifiers are merged into single records with queryable_via links. CSV output is available via ?f=csv and carries X-Registry-Relay-* and X-SPDCI-* disclosure/freshness headers plus a Link: rel="describedby" to aggregate metadata. When built with ogcapi-edr, configured admin_area aggregates are also exposed as OGC EDR /area collections.

List aggregates for a dataset

Returns every aggregate declared for the dataset, with their declared group-by columns, measures, and disclosure-control policy.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Execute an aggregate (GET)

Executes a declared aggregate with no body. Use the POST .../query variant when you need to pass dimension filters or temporal bounds.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

aggregate_id
required
string

Pre-declared aggregate identifier (config.datasets[*].aggregates[*].id).

Responses

Response samples

Content type
application/json
{
  • "rows": [
    ]
}

Execute an aggregate with filters

Executes a declared aggregate with dimension filters and optional temporal bounds. Temporal bounds are accepted only for aggregates that declare a temporal_field. CSV output is available with ?f=csv or request body "format": "csv"; the response then carries X-Registry-Relay-* and X-SPDCI-* disclosure/freshness headers and a Link: rel="describedby" to the aggregate metadata.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

aggregate_id
required
string

Pre-declared aggregate identifier (config.datasets[*].aggregates[*].id).

Request Body schema: application/json
optional
object
datetime
string

RFC 3339 instant or interval.

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "filters": { },
  • "datetime": "string"
}

Response samples

Content type
{
  • "rows": [
    ]
}

Aggregate metadata descriptor

Returns descriptive metadata for one aggregate (group-by columns, measures, disclosure-control policy, optional temporal field, linked indicators and dimensions).

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

aggregate_id
required
string

Pre-declared aggregate identifier (config.datasets[*].aggregates[*].id).

Responses

Response samples

Content type
application/json
{ }

List indicators for a dataset

Returns the indicators discovered from aggregate declarations. Reused indicator identifiers are merged into one record, with queryable_via, valid_dimensions, and links back to the aggregate routes that can compute them.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/json
{ }

Describe one indicator

Returns the merged discovery record for one indicator, including the aggregates that can compute it and the dimensions it accepts.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

indicator_id
required
string

Indicator identifier discovered from aggregate declarations.

Responses

Response samples

Content type
application/json
{ }

List dimensions for a dataset

Returns the dimensions discovered from aggregate declarations. Reused dimension identifiers are merged into one record with queryable_via links back to the aggregate routes.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/json
{ }

Describe one dimension

Returns the merged discovery record for one dimension, including the aggregates that expose it.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

dimension_id
required
string

Dimension identifier discovered from aggregate declarations.

Responses

Response samples

Content type
application/json
{ }

Metadata

Standards-facing metadata: catalog JSON, DCAT, BRegDCAT-AP, SHACL, JSON Schema, OGC Records bodies, dataset-scoped metadata. Filtered to the caller's metadata scopes.

Metadata landing document

Returns a JSON landing document with links to every metadata surface and an embedded scoped catalog. Filtered to the caller's metadata scopes.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{ }

Scoped catalog document

Returns the JSON catalog filtered to the caller's metadata scopes.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{ }

Base DCAT catalog

Returns a DCAT (Data Catalog Vocabulary) catalog as JSON-LD. Filtered to the caller's metadata scopes.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/ld+json
{ }

Application-profile DCAT catalog

Returns the requested DCAT application profile as JSON-LD. Profile examples include bregdcat-ap for BRegDCAT-AP.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
profile
required
string

DCAT application profile identifier (for example bregdcat-ap).

Responses

Response samples

Content type
application/ld+json
{ }

List available DCAT application profiles

Lists the DCAT application profiles the gateway can render, filtered to the caller's metadata visibility.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{ }

Describe one DCAT application profile

Returns the profile descriptor (identifier, label, conforming standards) for the named profile.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
profile
required
string

DCAT application profile identifier (for example bregdcat-ap).

Responses

Response samples

Content type
application/json
{ }

SHACL node shapes

Returns SHACL node shapes in JSON-LD, scoped to visible datasets and entities.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/ld+json
{ }

List metadata for visible datasets

Returns the dataset-scoped metadata for every dataset visible to the caller.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Dataset-scoped metadata

Returns metadata for one dataset.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/json
{ }

List entities under a dataset (metadata view)

Returns the entity descriptors that belong to one dataset, filtered to the caller's metadata visibility.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/json
{ }

Entity descriptor (metadata view)

Returns metadata for one entity (declared fields, allowed filters, required filters, policy links).

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

Responses

Response samples

Content type
application/json
{ }

Entity JSON Schema (metadata view)

Returns the Draft 2020-12 JSON Schema for one entity, scoped to the caller's metadata visibility.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

Responses

Response samples

Content type
application/schema+json
{ }

Entity SHACL shape (metadata view)

Returns the SHACL node shape that constrains one entity, as JSON-LD.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

Responses

Response samples

Content type
application/ld+json
{ }

Entity JSON Schema (URL-stable variant)

URL-stable JSON Schema endpoint for one entity, suitable for $ref from external SHACL or contract validators that pin schema URLs. Identical content to the entity schema metadata route.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

entity
required
string

Configured entity name (config.datasets[*].entities[*].name). Entity names are not storage table ids.

Responses

Response samples

Content type
application/schema+json
{ }

List OGC Records bodies (metadata view)

Returns the link-free OGC API - Records bodies for visible datasets. This is the metadata-side projection of the Records adapter and is always available, independent of the ogcapi-records runtime feature.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{ }

Single OGC Record body (metadata view)

Returns the link-free OGC API - Records body for one record.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
record_id
required
string

OGC Records identifier (typically the dataset id).

Responses

Response samples

Content type
application/json
{ }

Policies

ODRL access-policy documents.

ODRL policy statements

Returns ODRL policy statements as JSON-LD. Filtered to the caller's metadata scopes.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/ld+json
{ }

Dataset policy (ODRL JSON-LD)

Returns the ODRL access-policy document for one visible dataset.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/ld+json
{ }

Evidence offerings

Discovery records for Registry Notary. Relay publishes the metadata; claims and evidence are submitted to Registry Notary, not Relay.

List evidence offerings

Returns the discovery records for evidence offerings owned by datasets visible to the caller.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get one evidence offering

Returns one evidence-offering discovery record. Submitting claims and evidence is handled by Registry Notary, not by Relay.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
offering_id
required
string

Evidence offering identifier.

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "title": "string",
  • "access": {}
}

OpenAPI

The auth-gated, metadata-filtered OpenAPI document for the running instance. Use this abstract document for the contract; fetch /openapi.json from a running gateway for the instance shape.

Instance-specific OpenAPI document

Returns an OpenAPI 3.1 document that lists the operations and dataset/entity tags visible to the caller's metadata scopes. The shape depends on the gateway's configuration; this abstract document describes the contract, not any one deployment.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
{ }

OGC API Features

Read-only GeoJSON Features over entities configured with a spatial block. Available only when the gateway is built with the ogcapi-features feature.

OGC API Features landing page

OGC API - Features landing page with links to conformance, collections, and openapi. Available only when the gateway is built with ogcapi-features.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "title": "string",
  • "description": "string",
  • "links": []
}

OGC API Features conformance

Conformance classes implemented by this gateway.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{}

List spatial feature collections

Returns every spatial collection visible to the caller across every dataset. Equivalent to the union of /ogc/v1/datasets/{dataset_id}/collections.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "collections": [
    ],
  • "links": []
}

List spatial collections for a dataset

Returns every spatial collection declared on entities in this dataset.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

Responses

Response samples

Content type
application/json
{
  • "collections": [
    ],
  • "links": []
}

Describe a spatial collection

Returns the collection metadata for one spatial entity.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "title": "string",
  • "description": "string",
  • "itemType": "string",
  • "crs": [
    ],
  • "extent": { },
  • "links": []
}

List features

Returns GeoJSON Features for one spatial entity. Item routes require the entity's row-read scope and preserve required filters, purpose headers, projection, audit, and opaque cursor pagination. bbox-crs accepts CRS84 only; datetime requires spatial.datetime_field on the entity.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

query Parameters
bbox
string

WGS84 bounding box minLon,minLat,maxLon,maxLat. Accepted for point geometry and for entities with precomputed bbox fields.

bbox-crs
string
Value: "http://www.opengis.net/def/crs/OGC/1.3/CRS84"

CRS for bbox. Only CRS84 is supported.

datetime
string

RFC 3339 instant or interval. Requires spatial.datetime_field on the entity.

limit
integer >= 1

Maximum records to return on a single page. Capped by the entity's configured max_limit.

cursor
string

Opaque server-owned pagination cursor. Pass the value from a previous response's pagination.next_cursor field unchanged.

header Parameters
Data-Purpose
string <uri>

Stable, reviewable purpose IRI. Required when the entity has require_purpose_header: true. Recorded in audit logs; never put secrets or personal data here.

Responses

Response samples

Content type
application/geo+json
{
  • "type": "FeatureCollection",
  • "features": [
    ],
  • "links": []
}

Get one feature

Returns a single GeoJSON Feature by primary key.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
dataset_id
required
string

Configured dataset identifier (config.datasets[*].id).

collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

feature_id
required
string

Feature identifier (matches the entity's primary key).

Responses

Response samples

Content type
application/geo+json
{
  • "type": "Feature",
  • "id": "string",
  • "geometry": { },
  • "properties": { }
}

OGC API Records

Metadata-only catalog view conforming to OGC API - Records. The initial collection is datasets; each item describes a visible dcat:Dataset. Available only when built with the ogcapi-records feature.

OGC API Records landing page

OGC API - Records landing page. Mounted only when built with ogcapi-records.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "title": "string",
  • "description": "string",
  • "links": []
}

OGC API Records conformance

Conformance classes implemented by the records adapter.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{}

List record collections

Returns the available record collections. The initial Records surface has one collection, datasets.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "collections": [
    ],
  • "links": []
}

Describe a record collection

Returns the collection metadata for one record collection.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

Responses

Response samples

Content type
application/json
{
  • "type": "FeatureCollection",
  • "features": [
    ],
  • "links": []
}

List records

Returns records in one collection. The datasets collection supports q (case-insensitive text search across visible dataset and entity metadata), limit (1..1000), and after (opaque signed pagination cursor from a rel=next link). Unsupported spatial or search parameters return 400.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

query Parameters
q
string

Case-insensitive text search across visible dataset and entity metadata.

limit
integer >= 1

Maximum records to return on a single page. Capped by the entity's configured max_limit.

after
string

Opaque signed pagination cursor from a rel=next link.

Responses

Response samples

Content type
application/json
{
  • "type": "FeatureCollection",
  • "features": [
    ],
  • "links": []
}

Get one record

Returns one record. In the datasets collection, the record describes a visible dcat:Dataset.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

record_id
required
string

Record identifier.

Responses

Response samples

Content type
application/json
{ }

OGC API EDR

Environmental Data Retrieval views over configured admin_area spatial aggregates. Available only when built with the ogcapi-edr feature.

OGC API EDR landing page

OGC API - Environmental Data Retrieval landing page. Mounted only when built with ogcapi-edr.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "title": "string",
  • "description": "string",
  • "links": []
}

OGC API EDR conformance

Conformance classes implemented by the EDR adapter.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{}

List EDR collections

Returns every admin_area spatial aggregate exposed as an EDR collection.

Authorizations:
bearerAuthapiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "collections": [
    ],
  • "links": []
}

Describe an EDR collection

Returns the EDR collection metadata for one admin_area aggregate.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "title": "string",
  • "description": "string",
  • "itemType": "string",
  • "crs": [
    ],
  • "extent": { },
  • "links": []
}

EDR area query (GET)

Returns aggregate values for the area defined by coords (WKT polygon).

Authorizations:
bearerAuthapiKeyAuth
path Parameters
collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

query Parameters
coords
required
string

WKT polygon describing the query area.

datetime
string

RFC 3339 instant or interval.

parameter-name
string

Comma-separated parameters to return.

Responses

Response samples

Content type
application/json
{ }

EDR area query (POST)

POST variant of the area query for callers whose query polygons exceed practical URL lengths.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
collection_id
required
string

OGC collection identifier. Matches a spatial entity collection (/ogc/v1), the datasets record collection (/ogc/v1/records), or an EDR admin_area aggregate (/ogc/edr/v1).

Request Body schema: application/json
required
coords
required
string

WKT polygon describing the query area.

datetime
string

RFC 3339 instant or interval.

parameter-name
Array of strings

Responses

Request samples

Content type
application/json
{
  • "coords": "string",
  • "datetime": "string",
  • "parameter-name": [
    ]
}

Response samples

Content type
application/json
{ }

SP DCI

SP DCI sync-search adapter. sync/search is generic across configured standards.spdci.registries entries; the disability-specific paths require standards.spdci.disability_registry. Available only when built with spdci-api-standards and the relevant config is set.

SP DCI disability-status check (Disability Registry only)

Returns whether the queried subject is recorded as disabled. Available only when {registry} resolves to the dataset/entity referenced by standards.spdci.disability_registry; other registries return an unknown-resource error.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
registry
required
string

Registry key configured under standards.spdci.registries.

Request Body schema: application/json
required
property name*
additional property
any

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{ }

SP DCI disability details (Disability Registry only)

Returns disability-detail attributes for the queried subject. Available only when {registry} resolves to the dataset/entity referenced by standards.spdci.disability_registry.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
registry
required
string

Registry key configured under standards.spdci.registries.

Request Body schema: application/json
required
property name*
additional property
any

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{ }

SP DCI disability support (Disability Registry only)

Returns disability-support attributes for the queried subject. Available only when {registry} resolves to the dataset/entity referenced by standards.spdci.disability_registry.

Authorizations:
bearerAuthapiKeyAuth
path Parameters
registry
required
string

Registry key configured under standards.spdci.registries.

Request Body schema: application/json
required
property name*
additional property
any

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{ }

Provenance

Verifier-support routes (DID Web, JSON Schemas, JSON-LD contexts) used when callers opt in to VC-JWT responses with Accept: application/vc+jwt. Mounted only when provenance.enabled: true.

DID Web document (provenance)

Returns the gateway's W3C DID document, used by verifiers to resolve the signing key for VC-JWT responses. Mounted only when provenance.enabled: true. Unauthenticated.

Responses

Response samples

Content type
application/did+ld+json
{ }

Claim JSON Schema (provenance)

Returns the Draft 2020-12 JSON Schema for one Verifiable Credential subject claim type. Mounted only when provenance.enabled: true. Unauthenticated.

path Parameters
claim_type
required
string

Claim type the JSON Schema describes.

version
required
string

Schema version identifier.

Responses

Response samples

Content type
application/schema+json
{ }

JSON-LD context (provenance)

Returns a JSON-LD context referenced by VC-JWT responses. Mounted only when provenance.enabled: true. Unauthenticated.

path Parameters
vocab
required
string

Vocabulary identifier.

version
required
string

Context version identifier.

Responses

Response samples

Content type
application/ld+json
{ }