Skip to content

API to fetch all the activities of users followed by a user #386

@yoavartzi

Description

@yoavartzi

We need an API call to populate the user feed. Currently, we display the recommendations from all users the user is following. We need an API call that fetches all activities by followed users, including both recommendations and reactions. The return schema of the API should support the different kinds of events it returns (recommendation and activities), in contrast to the current /recs/feeds API.

This API call must obey the cutoff date, so we shouldn't fetch recommendations that weren't posted yet. The API call should enable continuous scrolling with incremental fetching.

(before we execute this issue, please comment below on what is the API call we currently use to populate the user feed)

The API we are currently using is likely /recs/feeds. We need to replace it to /feeds or something like this, because it won't be just recommendation now, but all activities.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions