tenseleyflow/shithub / eee1397

Browse files

changelog: note S50 §17 followers REST

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
eee139745c60ab08b1b625f5881494866e4e3dec
Parents
a23a98b
Tree
7cc46fd

1 changed file

StatusFile+-
M CHANGELOG.md 11 0
CHANGELOG.mdmodified
@@ -230,6 +230,17 @@ between minor releases.
230230
   `socialdb.ListEventsForRepo` and
231231
   `socialdb.ListPublicEventsForActor` queries.
232232
 - **Capability:** `events` added to `/api/v1/meta`.
233
+- **REST: followers / following (S50 §17).**
234
+  `GET /api/v1/users/{username}/followers` and
235
+  `GET /api/v1/users/{username}/following` (both paginated;
236
+  `Link:` headers), plus the authenticated-user-scoped
237
+  `GET /api/v1/user/following/{target}` (204/404 membership
238
+  probe matching gh), `PUT /api/v1/user/following/{target}`
239
+  (follow), and `DELETE` (unfollow). Self-follow returns 422.
240
+  Reuses `internal/social.FollowUser` / `UnfollowUser` so the
241
+  follow rate-limit and `followed_user` domain event stay in
242
+  one place. Org-follow variants remain on the HTML surface.
243
+- **Capability:** `followers` added to `/api/v1/meta`.
233244
 
234245
 ### Added (internal)
235246