Skip to main content

NotificationController

Base path/api/notifications
ModulePlatform Misc
Endpoints3
OpenAPI tagNotifications
Sourcebackend/src/main/java/com/motorph/payroll/controller/NotificationController.java

Endpoints​

MethodPathRequiresHandler
GET/api/notifications/meemployee.notifications.viewlistMine()
PATCH/api/notifications/{id}/reademployee.notifications.viewmarkAsRead()
PATCH/api/notifications/me/read-allemployee.notifications.viewmarkAllAsRead()

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: NotificationService.

Tables reached​

EntityTableTenant-scoped
EmployeeemployeeYes
NotificationnotificationsYes
Userusers—

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.