Appearance
Follows and feed
Who: listener; system (feed fan-out, counters).
Entry points
| Kind | Entry |
|---|---|
| REST | POST /follows { targetType, targetId }, DELETE /follows/:targetType/:targetId, PATCH /follows/:targetType/:targetId (notify settings), GET /follows/:targetType/:targetId, …/followers, …/followers/known, GET /me/following, GET /me/mutuals, GET /me/feed |
| Blocks | GET/POST /me/blocks, DELETE /me/blocks/:targetId, same for /me/mutes |
| Shares | POST /shares, POST /shares/:code/open, GET /shares/stats/:targetType/:targetId |
Socket /live | creator:follow (follow from a stream) |
| Deep link | profile, creator, playlist, release, show |
Flow
POST /follows→social.follow.created; counters in Valkey, flushed bysocial.counter-flush.- Activity is recorded by owners' events through the composition root: first release publication (
release_published), new episode, followers moment, playlist listed →social.activity.recorded→social.feed-fanout(hybrid fan-out). GET /me/feedmerges fanned-out items with pulled items for large accounts.- Block (
identity.user.blocked) removes follows both ways (social and moments consume it). Mute hides without unfollowing.
Exit states
| State | Code | Actions | Client next |
|---|---|---|---|
| Following | — | — | Toggle button |
| Self | SOCIAL_SELF_FOLLOW | — | — |
| Blocked | SOCIAL_BLOCKED, BLOCK_SELF, BLOCK_TARGET_NOT_FOUND | — | — |
| Target | SOCIAL_TARGET_NOT_FOUND, SOCIAL_TARGET_NOT_SUPPORTED | — | — |
| Feed cursor | PAGINATION_CURSOR_INVALID | — | Restart from the top |
Notifications
None today.