feat: add webchat pwa push subscription support
This commit is contained in:
@@ -158,6 +158,12 @@ Exceptions (handled by their own trust/auth model and therefore bypass gateway t
|
||||
- `POST /google-chat/events` (Google Chat event callback, optional webhook token check)
|
||||
- `POST /bluebubbles/events` (BlueBubbles iMessage webhook callback, optional webhook token check)
|
||||
|
||||
WebChat PWA push-subscription endpoints (auth-protected):
|
||||
- `GET /webchat/push/public-key` (returns enabled/configured push metadata)
|
||||
- `GET /webchat/push/subscriptions` (returns current subscription count/cap)
|
||||
- `POST /webchat/push/subscriptions` (registers/updates one browser subscription)
|
||||
- `DELETE /webchat/push/subscriptions` (removes one browser subscription by endpoint)
|
||||
|
||||
## Message Format
|
||||
|
||||
### Request (Client → Server)
|
||||
|
||||
Reference in New Issue
Block a user