Streaming API (push)
Overview of Event Consumption via the Streaming API
When partners or customers consume business event data from OPERA Cloud, they can choose which events an application will receive. These are the events to which the application subscribes.
A partner or customer can subscribe to business events from a specific environment, but approval from the environment owner is required.
For more information on streaming, read our blog post.
-
GraphiQL — This provides a visual playground for familiarizing yourself with the streaming API. The Connecting to the Streaming API via GraphiQL topic provides instruction on how to use this tool.
-
Postman collection — The Github and Postman Collections topic provides instruction on how to set up and use this tool.
-
Node reference implementation in TypeScript.
Customer Approval for Partners
A customer Developer Portal user can only approve the sending of business events for hotels to which they have access.
-
See a list of the partners who are requesting to consume events.
-
View a list of events a partner is consuming and see from which hotels and environments the partner is consuming these events.
-
Approve event consumption for one or many hotels in the requested environment.
Note:
In the following circumstances, the event subscription will automatically be approved.
-
Partners consuming business events from the partner sandbox.
-
Partners consuming business events from their dedicated non production environment.
-
Customers consuming business events from their own non production environment.
-
Customers consuming business events from their own production environment.