Skip to content

[codex] add notification bulk actions#1005

Open
saurabhhhcodes wants to merge 8 commits into
SdSarthak:mainfrom
saurabhhhcodes:fix/notifications-bulk-endpoints-997
Open

[codex] add notification bulk actions#1005
saurabhhhcodes wants to merge 8 commits into
SdSarthak:mainfrom
saurabhhhcodes:fix/notifications-bulk-endpoints-997

Conversation

@saurabhhhcodes

@saurabhhhcodes saurabhhhcodes commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Added GET /api/v1/notifications/unread-count for unread badge counts.
  • Added POST /api/v1/notifications/read-all to mark all unread notifications for the current user as read.
  • Added DELETE /api/v1/notifications/read to clear all read notifications for the current user.
  • Kept all operations scoped to the authenticated user.
  • Added regression tests for unread count, mark-all-read, and delete-read behavior.

Validation

  • git diff --check
  • /Users/saurabhkumarbajpaiai/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/bin/python3 -m pytest backend/tests/test_notifications.py -q

Closes #997

@saurabhhhcodes saurabhhhcodes marked this pull request as ready for review June 13, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add bulk notification management endpoints and unread count API

2 participants