Support requests, version 1
Source: requests.proto, which imports
commands.proto and
queries.proto. Run
pnpm generate:contracts after edits. Private commands are declared alongside
public commands in commands.proto; their visibility annotations keep them
outside the API's published operations.
Commands carry the shared CommandMetadata: command ID (the Idempotency-Key),
target aggregate, expected version, correlation and the acting user (actor_id).
The API sets user_id in queries and actor_id in commands from the session; a
browser never supplies either. Command replies carry the shared Outcome; query
replies carry their response or the shared RequestError.
Broker roles and permissions are generated from broker.json into
services/beto/services/topology/permissions.generated.json.
Page source
Source snapshot · Revision f928834c8.