Skip to content

[Backend] — Bulk Notification Read/Unread Endpoint #1388

Description

@Olowodarey

Labels: backend, enhancement, notifications

Problem

Users must mark notifications read one at a time; there is no bulk or mark-all operation, causing many round-trips.

Requirements

  1. Add endpoints to mark a list of notifications, or all, as read/unread.
  2. Scope operations to the authenticated user.
  3. Return the updated unread count.
  4. Make the operation idempotent.

Acceptance Criteria

  • Bulk and mark-all update only the caller's notifications.
  • The response includes the updated unread count.
  • Repeating the operation is idempotent.
  • Tests cover bulk, mark-all, and scoping.

Files

backend/src/notifications/notifications.service.ts, backend/src/notifications/notifications.controller.ts, backend/src/notifications/dto

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions