Skip to main content

Schema API

Your EventCatalog schemas for your Events, Queries, Commands and Services can be accessed via API (GET requests).

OpenAPI specification

You can find the OpenAPI specification for the Schema API here.

Message Schemas

The Message Schemas API allows you to get the schema for a specific event, query or command.

GET /api/schemas/events/{eventId}/{version}
GET /api/schemas/queries/{queryId}/{version}
GET /api/schemas/commands/{commandId}/{version}
ParameterDescription
eventIdThe id of the event
queryIdThe id of the query
commandIdThe id of the command
versionThe version of the message

Service Specifications

The Service Specifications API allows you to get the specification for a specific service.

GET /api/schemas/services/{serviceId}/{version}/{type}
ParameterDescription
serviceIdThe id of the service
versionThe version of the service
typeThe type of specification, currently only asyncapi, openapi and graphql are supported.