Skip to content

Follows and feed ​

Who: listener; system (feed fan-out, counters).

Entry points ​

KindEntry
RESTPOST /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
BlocksGET/POST /me/blocks, DELETE /me/blocks/:targetId, same for /me/mutes
SharesPOST /shares, POST /shares/:code/open, GET /shares/stats/:targetType/:targetId
Socket /livecreator:follow (follow from a stream)
Deep linkprofile, creator, playlist, release, show

Flow ​

  1. POST /follows → social.follow.created; counters in Valkey, flushed by social.counter-flush.
  2. 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).
  3. GET /me/feed merges fanned-out items with pulled items for large accounts.
  4. Block (identity.user.blocked) removes follows both ways (social and moments consume it). Mute hides without unfollowing.

Exit states ​

StateCodeActionsClient next
Following——Toggle button
SelfSOCIAL_SELF_FOLLOW——
BlockedSOCIAL_BLOCKED, BLOCK_SELF, BLOCK_TARGET_NOT_FOUND——
TargetSOCIAL_TARGET_NOT_FOUND, SOCIAL_TARGET_NOT_SUPPORTED——
Feed cursorPAGINATION_CURSOR_INVALID—Restart from the top

Notifications ​

None today.

Known gaps ​

  • Nobody is told about a new follower: social.followed is seeded and never sent; social.follow.created has no consumer (I1).
  • Followers are not pushed new releases (I2); engagement feeds are off (I6).

Plemuz API v2