Appearance
Social
Follows, likes, reactions, comments, activity feed and shares. All paths are under /v1. Responses use { data, meta }; lists are cursor pages (?cursor&limit, meta.nextCursor, meta.hasMore). Errors are Problem Details with the codes below. "Guest" means no token is needed.
Target types: follow profile | playlist | release | recording | muzcast_show; like recording | release | episode | moment | playlist; comment recording | release | playlist | episode | moment | dj_set; reaction = comment types + comment; share = follow types + episode | moment | dj_set | live_stream | product. Reaction codes: heart fire laugh wow sad clap pray hundred.
Follows
| Method | Path | Auth | Body / query | Response |
|---|---|---|---|---|
| POST | /follows | user | { targetType, targetId, source? } | FollowStatus 201 |
| DELETE | /follows/:targetType/:targetId | user | FollowStatus | |
| PATCH | /follows/:targetType/:targetId | user | { isNotifying } | { status: "ok" } |
| GET | /follows/:targetType/:targetId | guest | FollowStatus { targetType, targetId, isFollowing, followers } | |
| GET | /follows/:targetType/:targetId/followers | guest | page | PersonItem[] { userId, profile, followedAt } (blocked hidden) |
| GET | /follows/:targetType/:targetId/followers/known | user | page | followers the viewer follows |
| GET | /me/following | user | page, targetType? | { targetType, targetId, isNotifying, followedAt }[] |
| GET | /me/mutuals | user | page | people who follow each other with the viewer |
Errors: SOCIAL_TARGET_NOT_FOUND, SOCIAL_SELF_FOLLOW, SOCIAL_BLOCKED, RATE_LIMITED (300/h).
Likes
| Method | Path | Auth | Body / query | Response |
|---|---|---|---|---|
| POST | /likes | user | { targetType, targetId, context?: { type, id? } } | LikeStatus { isLiked, likes } 201 |
| DELETE | /likes/:targetType/:targetId | user | LikeStatus | |
| GET | /likes/:targetType/:targetId | guest | LikeStatus | |
| GET | /me/likes | user | page, targetType | { targetType, targetId, likedAt }[] |
Reactions
One per user per target; setting another code changes it.
| Method | Path | Auth | Body | Response |
|---|---|---|---|---|
| PUT | /reactions/:targetType/:targetId | user | { code } | ReactionSummary { total, counts{code:n}, mine } |
| DELETE | /reactions/:targetType/:targetId | user | ReactionSummary | |
| GET | /reactions/:targetType/:targetId | guest | ReactionSummary |
Comments
Threads are at most two levels deep (a reply to depth 2 joins depth 2). Edit window 15 min. Deleted comments with replies stay as tombstones (body: null). Blocked and muted authors are hidden. New comments go through the spam/profanity filter: slurs and duplicates are refused, profanity, link/mention spam, repetition and shouting are held for the owner. positionMs (timestamped comment) only on recording | episode | dj_set.
| Method | Path | Auth | Body / query | Response |
|---|---|---|---|---|
| GET | /targets/:targetType/:targetId/comments | guest | page, sort=top|newest | CommentView[] (pinned first on page 1) |
| POST | /targets/:targetType/:targetId/comments | user | { body, parentId?, positionMs? } | CommentView 201 (30 per 10 min) |
| GET | /targets/:targetType/:targetId/comments/timeline | guest | fromMs, toMs?, limit | CommentView[] by position |
| GET | /targets/:targetType/:targetId/comments/held | owner | page | held comments |
| GET | /targets/:targetType/:targetId/comment-settings | guest | { audience: everyone|followers|nobody, isHoldingAll } | |
| PATCH | /targets/:targetType/:targetId/comment-settings | owner | partial settings | settings |
| GET | /comments/:commentId/replies | guest | page | replies, oldest first |
| PATCH | /comments/:commentId | author | { body } | CommentView |
| DELETE | /comments/:commentId | author or owner | ok | |
| POST | /comments/:commentId/pin, /unpin | owner | ok (one pin per target) | |
| POST | /comments/:commentId/approve | owner | ok | |
| POST | /comments/:commentId/report | user | { reason, details? } | ok 202 (5 open reports hold it) |
CommentView: id, targetType, targetId, authorUserId, author, parentId, rootId, depth, body, positionMs, status, isPinned, isEdited, replyCount, reactionCount, myReaction, createdAt, editedAt.
Errors: SOCIAL_COMMENT_NOT_FOUND, SOCIAL_COMMENT_FORBIDDEN, SOCIAL_COMMENTS_DISABLED, SOCIAL_COMMENT_REJECTED, SOCIAL_COMMENT_EDIT_CLOSED, SOCIAL_COMMENT_POSITION_INVALID, SOCIAL_COMMENT_ALREADY_REPORTED, SOCIAL_BLOCKED. Mentions (@handle) notify via comment.mention.
Feed
| Method | Path | Auth | Query | Response |
|---|---|---|---|---|
| GET | /me/feed | user | page, types=a,b | FeedItem { id, type, actorUserId, actorProfileId, actor, target{type,id}, object, createdAt }[] |
Hybrid fan-out: profiles under SOCIAL_FEED_FANOUT_THRESHOLD followers are copied into followers' feeds by the fanout queue; larger ones are merged at read time.
Shares
| Method | Path | Auth | Body | Response |
|---|---|---|---|---|
| POST | /shares | guest | { targetType, targetId, channel, positionMs?, campaign? } | { code, url, targetType, targetId, channel, createdAt } 201 |
| POST | /shares/:code/open | guest | { platform?, referrerHost?, isInstall? } | { targetType, targetId, positionMs, deepLink } |
| GET | /shares/stats/:targetType/:targetId | guest | { shares, opens } |
Errors: SOCIAL_SHARE_NOT_FOUND, SOCIAL_TARGET_NOT_FOUND.
Events
social.follow.created/removed, social.like.created/removed, social.comment.created/removed/reported, social.reaction.set, social.share.created, social.activity.recorded (internal).
Account privacy
Comment status suspended: the author's visible comments while their account is deactivated. Never shown to anyone, cannot be replied to, and returns to visible on reactivation. Deletion turns the author's comments into anonymous tombstones.
Following lists
GET /me/following rows carry profile (summary with avatarUrl) when targetType is profile. GET /profiles/:profileId/following?targetType&cursor&limit shows who a profile's owner follows; it answers SOCIAL_FOLLOW_LIST_PRIVATE (403) when they turned off followersAndFollowing, and PROFILE_NOT_FOUND across a block. Follower and mutual rows carry avatarUrl.