API reference
Events
Server-sent events for live updates.
Paths are relative to /api/v1 on your server.
/events#Server-sent events
A text/event-stream of the events in @collectoh/shared/events, scoped to what the caller may see. types filters by comma-separated event type; Last-Event-ID (or lastEventId) replays what was missed.
- Authorisation
- Bearer token or API key · Session cookie
| Parameter | In | Type | Description |
|---|---|---|---|
types | query | string | |
lastEventId | query | string |
- 200Success.
text/event-stream·string - 400
VALIDATION_FAILED: the request did not match the schema;details.issueslists what.application/json·ErrorEnvelope - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackslibrary:view, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope
No endpoint here matches. Try another word, or look in another area.