[openstreetmap/openstreetmap-website] Provide an API to access user notifications (Issue #6896)

Minh Nguyễn notifications at github.com
Sat May 23 06:55:36 UTC 2026


1ec5 left a comment (openstreetmap/openstreetmap-website#6896)

The main motivation for a notifications API is so that a client can alert the user to new or unread notifications, similar to JOSM’s existing alert about unread messages. Until we have a mechanism to mark individual messages as read, the client would need to keep track of read state on their own (or a last-checked timestamp for simplicity). That means we’d need to cap the number of notifications or paginate them.

> These are the elements common to all types:

Should there be a timestamp here too?

> DiaryComment. Note this is new from whole cloth as there's no existing diaries API to take inspiration from:

Does the client need all these details to render a notification about a diary comment?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6896#issuecomment-4524488386
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6896/4524488386 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260522/5a1eb69f/attachment.htm>


More information about the rails-dev mailing list