Marks every notification about one post read for the current user and returns the new unread count together with the remaining unread post ids.
The unread_feed_ids list is what the portal uses to keep the unread dot on individual posts in the feed, so this response is directly usable to update the list in place.
Endpoint
Method:
POSTPath:
/notifications/mark-read/{feed_id}/by-feed-idEdition: Core
Controller:
NotificationsController@markAsReadByFeedIdRoute source:
fluent-community/app/Http/Routes/api.php:134Controller source:
fluent-community/app/Http/Controllers/NotificationsController.phpRequires a signed-in user.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
POST Mark Notifications Read By Feed
Marks every notification about one post read for the current user and returns the new unread count together with the remaining unread post ids.
Controller: NotificationsController@markAsReadByFeedId
Route source: fluent-community/app/Http/Routes/api.php:134
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Feed ID extracted from the URL path.
Responses
Successful response