MLTSHP / mltshp

Source for the application that runs mltshp.com
https://mltshp.com/
Mozilla Public License 2.0
50 stars 21 forks source link

API does not expose user's announcements #690

Open spaceninja opened 1 year ago

spaceninja commented 1 year ago

On MLTSHP.com in the sidebar you'll get notifications for site announcements, mentions, etc. These are not exposed in the API.

spaceninja commented 1 year ago

Suggestion: Add the following endpoint:

GET /api/user/notifications

Returns notification summary information for the authorized user.

Status Codes


Then for each of the previous types of notifications, add an API endpoint to request the notification details. Here's an example:

GET /api/user/notifications/likes

Status Codes