Notifications

Mark one notification read

Changed on

Marks one of the caller's own notifications read. Plain RLS-scoped update, no RPC — notifications_update_recipient_member (migration 0053_notifications.sql) is the entire authorization surface, so a foreign id or another recipient's row is indistinguishable from a nonexistent one (404, non-disclosing). Idempotent: marking an already-read notification succeeds again rather than erroring.

post/api/v1/notifications/{id}/read

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/v1/notifications/{id}/read
  • Auth: one of:
    • API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
    • HTTP bearer

Path parameters

idstring uuid required

Response

The notification is now marked read.

Changes

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status