/api/notification/admin

POST /api/notification/admin/bulk

Changed on

Bulk-archive or -change-creator a set of notifications. The per-notification :active flip goes through :model/Notification's before-update hook, which creates / tears down the Quartz triggers. Recipient emails and :event/notification-update audit events are published via the shared [[notification-api/publish-notification-update!]] helper so this endpoint's side-effect contract can't drift from PUT /api/notification/:id.

post/api/notification/admin/bulk

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

action'archive' | 'change-creator' required
creator_idinteger

value must be an integer greater than zero.

notification_idsinteger[] required

Response

Successful response

updatedinteger required

value must be an integer greater or equal to than zero.

Changes