Serves the caller's own notifications to the client's /notifications
page, which marks them all read when it opens. New ones arrive over the
WebSocket instead, as notification_created.
GET /api/me/notifications?page=&limit=— signed in. Answers a page of them, newest first.POST /api/me/notifications/read— signed in. Marks them all read.
v
default: Router
Mounted by api/main.ts behind the error, Open Graph and CORS middleware.
An APIException thrown by a handler becomes the JSON error response there.
Usage
import * as mod from "api/routes/notifications.ts";