Fauna Event Streaming API
The Fauna Event Streaming API enables real-time change data capture by maintaining an open connection to the Fauna database and pushing events to clients as they occur. Developers can subscribe to document or set changes and receive add, remove, and update events in real time. The API supports reconnection with a start timestamp to avoid missing events during disconnections. It is accessible via the /stream/1 HTTP endpoint with token-based authentication.
Fauna Event Streaming API is one of 9 APIs that fauna publishes on the APIs.io network, described by an AsyncAPI event-driven specification.
Tagged areas include Change Data Capture, Database, Events, Real-Time, and Streaming. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.
This event API exposes 2 operations across 1 channel, and defines 11 schemas. It is described by AsyncAPI 2.6.0, at version 1.
The API connects through a single server, https://db.fauna.com (https).
Metadata
The identity and technical contract details declared by the specification.
Channels & Operations 2
Across 1 channel, the API surfaces 2 operations. Each is listed below with its action, channel, parameters, and response codes.
Messages & Schemas 11
The contract defines 11 schemas that model the data carried by its messages. The most detailed are UpdateEventPayload (5 properties), RemoveEventPayload (5 properties), AddEventPayload (5 properties), StreamStats (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable AsyncAPI contract behind this narrative.
Source
More from fauna 8
Other APIs fauna publishes across the network.