rostack_v1 exposes arbitrary implementation-owned data through a uniform, read-only discovery and transport contract. It does not prescribe domain fields.
Client Flow#
- Fetch
/.well-known/rostackover HTTPS. - Verify that
protocol.versionisrostack_v1and select a supported representation for a discovered resource. - Obtain credentials for an advertised authentication method: OAuth 2.0 or a provisioned shared token.
- Query collection or item URLs using the standard filters and pagination.
- Connect to the discovered
wssgateway and authenticate. - Subscribe to resource events, then follow each event's
detail_urlwhen the current full record is needed.
Requirements#
- Discovery, schema, API, and gateway URLs MUST use TLS in production.
- HTTP operations are read-only. Implementations MUST NOT advertise mutation operations as part of
rostack_v1. - Every available resource and representation MUST appear in discovery.
- Each representation MUST declare its media type and a retrievable schema URL.
- Undocumented domain fields MAY be returned only when the referenced schema permits them.
- Clients MUST treat resource data as implementation-defined and MUST NOT infer a representation from its resource name.
Standard Error#
Non-success HTTP responses use application/problem+json as defined by RFC
- Implementations SHOULD include
request_idas an extension member.