tenseleyflow/shithub / 1b223cc

Browse files

changelog: note S50 §14 notifications REST

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
1b223cc85b01b9b1fd5f162dea6a1a1677e16b98
Parents
afa6883
Tree
a7314f6

1 changed file

StatusFile+-
M CHANGELOG.md 11 0
CHANGELOG.mdmodified
@@ -196,6 +196,17 @@ between minor releases.
196196
   immediately with `init_status: "init_pending"`. Org-target
197197
   forks land in a follow-up.
198198
 - **Capability:** `forks` added to `/api/v1/meta`.
199
+- **REST: notifications (S50 §14).** User-scoped inbox surface:
200
+  `GET /api/v1/notifications` (defaults to unread only;
201
+  `?all=true` includes read; paginated with `Link:` headers),
202
+  `GET /api/v1/notifications/threads/{id}` (single fetch with
203
+  existence-leak-safe cross-user 404),
204
+  `PATCH /api/v1/notifications/threads/{id}` (mark read/unread
205
+  — empty body / `unread:false` → read; `unread:true` flips
206
+  back), and `PUT /api/v1/notifications` (mark all read).
207
+  Scopes: `user:read` on GETs, `user:write` on mutations. All
208
+  routes are implicitly scoped to the authenticated user.
209
+- **Capability:** `notifications` added to `/api/v1/meta`.
199210
 
200211
 ### Added (internal)
201212