Feeds
There are two feeds, both session-scoped. They are personalised, so you have to be signed in to read them.
Following
Posts from the developers you follow, newest first. This is the default feed when you sign in.
GET /social/feed with no tab parameter, or GET /social/feed?tab=following.
For You
A ranked view across the whole network, weighted towards the people and stacks you already care about. It fills in the gaps between what you follow.
GET /social/feed?tab=for-you.
Photos
An image-first feed of photo posts, rendered with squared frames. Posts with images surface here so you can browse visuals without the surrounding text.
GET /social/feed?tab=photos.
Reading a post
A single post is readable without a session:
Reading a post
A single post is readable without a session:
GET /social/posts/:postId
It applies visibility and moderation rules, so a post you are not allowed to see — because it is
FOLLOWERS_ONLY and you do not follow the author, or because it has been removed — is not
returned.
Comments on a post require a session to list, since the caller's relationship to the author and to the thread affects what is shown.
Post detail object
{
"id": "…",
"content": "Shipped the first public build.",
"type": "PROJECT_LAUNCH",
"visibility": "PUBLIC",
"createdAt": "…",
"author": {
"id": "…",
"username": "spacedev",
"displayName": "Space Dev",
"avatarUrl": "…"
},
"project": { "id": "…", "name": "spacekeep-cli", "technologies": ["TypeScript"] },
"code": [{ "language": "typescript", "code": "…" }],
"images": ["asset_id_1", "asset_id_2"],
"buildProgress": null,
"buildCompleted": [],
"buildRemaining": [],
"viewer": {
"canEdit": false,
"canDelete": false,
"reacted": true,
"saved": false
},
"counts": { "reactions": 42, "comments": 7 }
}
The viewer block is only present when the caller is authenticated. canEdit and canDelete are
true only for the author.
Related
- Posting — writing posts
- Communities — posts inside a topic space
- Saved Posts — bookmarking posts
- Search — finding posts by keyword or tag
- Explore — finding posts and projects
- Follows — what lands in Following