NotificationController
struct NotificationController : SiteControllerUtils
NotificationController handles the web page showing a user’s Notification Log – a history of
notifications that were delivered to them, backed by GET /api/v3/notification/log.
-
Declaration
Swift
func registerRoutes(_ app: Application) throws -
notificationLogPageHandler(_:Asynchronous) GET /notificationsShows a page listing the user’s notification history, newest first.
Declaration
Swift
func notificationLogPageHandler(_ req: Request) async throws -> View
View on GitHub