Mark every visible unread notification read, for one workspace
Changed onMarks all of the caller's own unread notifications in one workspace read. Plain RLS-scoped bulk update, no RPC — notifications_update_recipient_member (migration 0053_notifications.sql) is the entire authorization surface. Scoped to exactly ONE workspace (the path id) — never cross-workspace, per the PO-ratified business rule. Idempotent: a repeat call updates zero rows and still returns 200 with updated_count: 0.
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/v1/workspaces/{id}/notifications/read-all
- Auth: one of:
- API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
- HTTP bearer
Path parameters
Response
Every visible unread notification in this workspace is now marked read.
Changes
- warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status
- warning
- info
removed the
test_outside_plan_projectenum value from the/response property for the response status - info
removed the
test_outside_plan_projectenum value from the/response property for the response status
- info