Subscribe to real-time notification events (banners and errors).
GET/api/v2/events/notifications
Opens an SSE stream that fires whenever the system needs to communicate
a message to the user — errors, warnings, informational banners, or success
confirmations. Each event is a NotificationEvent with kind, severity,
category, message, and optional entity reference.
Request
Responses
- 200
SSE stream — fires NotificationEvent for banners and errors
- text/event-stream
- Schema
- Example (from schema)
Schema
Category tag for filtering/grouping (e.g. "storage", "sync", "config").
Optional: ID of the related entity (e.g. catalog_id, device_id).
Optional: what domain entity this relates to (e.g. "delivery", "device").
Unique ID for this notification instance.
Possible values: [banner, error]
Discriminator: banner (informational) vs error (failure).
Human-readable message to display. In the future, may be a translation key.
If true, stays on screen until user dismisses. If false, auto-hides.
Possible values: [info, warning, error, success]
Visual severity for UI styling.
ISO 8601 timestamp.
{
"category": "string",
"entityId": "string",
"entityType": "string",
"id": "string",
"kind": "banner",
"message": "string",
"persistent": true,
"severity": "info",
"timestamp": "string"
}