Events registry
Use the Events Registry for storing and retrieving data schema (event data model) or the entire asyncapi. The Events Registry supports the cloud event spec format{:target=“_blank”} for defining event data. This spec enforces two important elements: data and dataschema. The data element contains the core payload, and the dataschema is linked to the schema that defines the data elements of the event.
The schema for a particular topic is linked within each notification payload, allowing consumers to view the most current schema for the event they are about to consume.
To subscribe to the Events Registry API product in the API Marketplace:
- Go to Trimble Cloud Console{:target=“_blank”}.
- From the left menu click Marketplace > Developer Marketplace{:target=“_blank”}.
- Search for the [Events Registry API Product](https://console.trimble.com/home/marketplace/product/Events Registry “https://console.trimble.com/home/marketplace/product/Events Registry”){:target=“_blank”}.
- In the Events Registry API page, click +ADD SUBSCRIPTION to subscribe the consuming application (which is already subscribed to the Events Service).
- Use the Consumer Key and Secret to obtain the access token and start consuming the API.
The API Spec for Event Registry is available on the Marketplace. Refer to the API spec for more details.
Always subscribe stage application to Pre Prod (Stage, Qa, Pt, Dev) and subscribe your prod application to PROD.