Changeset 0.28.6 (#192)
This commit is contained in:
@@ -234,3 +234,15 @@ POST /admin/tasks/:id/run → force run
|
||||
POST /admin/tasks/:id/kill → cancel active run
|
||||
DELETE /admin/tasks/:id → delete task
|
||||
```
|
||||
|
||||
### Notifications Admin (v0.28.6)
|
||||
|
||||
```
|
||||
POST /admin/notifications/broadcast ← { "title", "message", "level?" }
|
||||
→ { "message": "broadcast sent", "count": N }
|
||||
```
|
||||
|
||||
Sends a `system.announcement` notification to all active users.
|
||||
Also emits a `system.broadcast` WebSocket event for real-time delivery.
|
||||
`level` is optional (`info` | `warning` | `critical`, default `info`).
|
||||
See [notifications.md](notifications.md#admin-broadcast-v0286) for full details.
|
||||
|
||||
Reference in New Issue
Block a user