feat: add markAllNotificationsRead method to UserService

This commit is contained in:
gabdevele
2026-06-15 10:30:45 +02:00 Unverified
parent a784094692
commit c5fede30ad
11 changed files with 65 additions and 1478 deletions
+33
View File
@@ -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.",