Skip to main content

Wire Binding (reference HTTP+JSON)

Status

The GMP spec is transport-agnostic, and a normative wire binding (gRPC / HTTP / JSON) is explicitly deferred to a separate document. What follows is the reference HTTP+JSON binding as implemented in src/aml/wire.py and the server — useful and stable, but not yet part of the frozen normative spec.

The reference binding exposes the MemoryBackend operations over HTTP+JSON. GMPClient (aml.wire.GMPClient) is a MemoryBackend that proxies every call to a remote server — so the same conformance suite can audit a local object or a remote endpoint unchanged.

See the live OpenAPI/Swagger at the reference server's /docs, and the REST API reference.

Source: src/aml/wire.py