v51

latestSwagger 2.0AGPL-3.0-or-laterraw.githubusercontent.com2026-08-0116998415.7 KB
subscriptions

Mark a notification as (un-)read

Marks a notification as either read or unread. A user can only mark their own notifications as read.

post/notifications/{id}

Path parameters

idinteger required

Notification ID

Response

The notification to mark as read.

createdstring

A timestamp when this notification was created. You cannot change this value.

idinteger

The unique, numeric id of this notification.

namestring

The name of the notification

{"stackTrail":"components:schemas:models.DatabaseNotifications:properties:notification","oasType":"schema","type":"unknown","description":"The actual content of the notification."}
readboolean

Whether or not to mark this notification as read or unread. True is read, false is unread.

read_atstring

When this notification is marked as read, this will be updated with the current timestamp.