Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 377
    • Issues 377
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Issues
  • #1217
Closed
Open
Issue created Sep 03, 2020 by Antoine POPINEAU@apognu

Followed libraries are not returned from the API

I am experimenting with the subscribed scope used in open.audio's API. For instance, I tried calling /api/v1/artists/?scope=subscribed but an empty list was returned.

GET /api/v1/artists/?page_size=1&scope=subscribed HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Authorization: Bearer [REDACTED]
Connection: keep-alive
Host: open.audio
User-Agent: HTTPie/2.2.0

HTTP/1.1 200 OK
[...]

{
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}

Following that, I also tried to call /api/v1/libraries/?scope=subscribed, with no more luck, still an empty list.

As far as I can tell, I do follow some libraries there, as the libraries' pages do show the "Unfollow" button. Something is weird though: the library page indicates I follow it, but the "User libraries" box on a track page shows the "Follow button" (see attached screens).

Am I misunderstanding the concept of subscribed content? Is it meant to be something else that the "follow" state?

2 1

Assignee
Assign to
Time tracking