Update Notification API Endpoints and Documentation
- Changed the endpoint for marking notifications as seen to improve clarity and consistency in the API structure. - Updated the endpoint for marking all notifications as seen to a more descriptive path. - Reflected these changes in the Swagger documentation, ensuring accurate representation of the updated API endpoints for consumers.
This commit is contained in:
@@ -4743,7 +4743,7 @@ paths:
|
||||
summary: Get notifications for the user
|
||||
tags:
|
||||
- Notification
|
||||
/api/v1/notifications/all-seen/{user_id}:
|
||||
/api/v1/notifications/mark:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
@@ -4774,7 +4774,7 @@ paths:
|
||||
summary: Mark all notifications as seen for a user
|
||||
tags:
|
||||
- Notification
|
||||
/api/v1/notifications/mark-seen/{id}:
|
||||
/api/v1/notifications/mark/{id}:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
|
||||
Reference in New Issue
Block a user