Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1269

Separate out Listen-Events from user feed endpoint

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      According to the ListenBrainz Redesign [1], listen events (from followed users) are going to be separated from other feed events. This is to avoid shadowing due to high number of listens events when compared to all other events combined. 

      Procedure:

      1) Create a new endpoint `GET /user/<user_name>/feed/events/listens/following` (tentative) that provides listen events from followed users only.

      NOTE: For similar users, naming would go like `GET /user/<user_name>/feed/events/listens/similar`

      Access token required. 

      Params: min_ts, max_ts, count (default = 25)

      Endpoints with similar naming scheme: 

      • /user/<user_name>/feed/events/unhide
      • /user/<user_name>/feed/events/hide
      • /user/<user_name>/feed/events/delete
      • /user/<user_name>/feed/events  (original get feed API)

      2) Remove listen events from `GET /user/<user_name>/feed/events` when frontend is ready to make the change. Suggestion: maybe rename this endpoint to `GET /user/<user_name>/feed/events/<something here?>`

       

       

      [1] -> https://www.figma.com/file/YRbCOtFHBez8XmMdCKbGta/ListenBrainz-redesign?type=design&node-id=993%3A785&t=qEuWrnHKlMzUYrrb-1

            daKu Jasjeet
            daKu Jasjeet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package