Notification PUT Resources

Mark all notifications as read

PUT /notifications

Marks all notifications of the current user as read. The response contains the count of updated notifications.

{
    "updated": 4
}

Mark all notifications as seen

PUT /notifications/seen

Marks all notifications of the current user as seen. The response contains the count of updated notifications.

{
    "updated": 3
}

Mark a specific notification as read

PUT /notifications/:notificationId/read
Parameter Type Default Description
notificationId int The ID of the notification resource

Marks a specific notification of the current user as read. Will respond with HTTP status 205.

Mark a specific notification as seen

PUT /notifications/:notificationId/seen
Parameter Type Default Description
notificationId int The ID of the notification resource

Marks a specific notification of the current user as seen. Will respond with HTTP status 205.