Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion website/server/controllers/api-v3/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,15 @@ api.readNotification = {

/**
* @api {post} /api/v3/notifications/read Mark multiple notifications as read
* @apiDescription Marks multiple notifications as read by removing them
* from the user's notification list. This differs from marking notifications
* as seen, which retains them but sets the `seen` field to true.
* @apiName ReadNotifications
* @apiGroup Notification
*
* @apiSuccess {Object} data user.notifications
* @apiParam {String[]} notificationIds Required. Array of notification ID strings to mark as read.
*
* @apiSuccess {Object[]} data Array of remaining user notifications
*/
api.readNotifications = {
method: 'POST',
Expand Down