feat: add markAllNotificationsRead method to UserService
This commit is contained in:
@@ -2541,6 +2541,39 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/notifications/read-all": {
|
||||
"patch": {
|
||||
"description": "Marks all notifications as read for the authenticated user.",
|
||||
"operationId": "UserController.markAllNotificationsRead",
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OkResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Notification update result."
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/components/responses/Unauthorized"
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/components/responses/Forbidden"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"bearerAuth": []
|
||||
}
|
||||
],
|
||||
"summary": "Mark all notifications read",
|
||||
"tags": [
|
||||
"User"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/open-data/reports": {
|
||||
"get": {
|
||||
"description": "Returns anonymized resolved/closed report data for public reuse.",
|
||||
|
||||
Reference in New Issue
Block a user