Aller au contenu

REST API — Notifications

Ce contenu n’est pas encore disponible dans votre langue.

Method Path What it does
GET /api/notification-preferences Every (event, channel) toggle with defaults filled in.
PUT /api/notification-preferences Set one override. Idempotent — PUT the same body twice, same result.
DELETE /api/notification-preferences/{event_type}/{channel} Drop the override so the pair follows the shipped default again.
GET /api/notifications The caller’s own notifications (operators: all).
POST /api/notifications Create a notification for yourself (platform events use deliver_event).
DELETE /api/notifications/{notification_id} Notification delete
GET /api/notifications/{notification_id} Notification detail
PATCH /api/notifications/{notification_id} Update (e.g. mark read) — your own notifications only.