Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: /playlists/search endpoint dose not return albums #8842

Open
Funasitien opened this issue Jun 14, 2024 · 1 comment
Open

API: /playlists/search endpoint dose not return albums #8842

Funasitien opened this issue Jun 14, 2024 · 1 comment

Comments

@Funasitien
Copy link

https://discoveryprovider.audius.co/v1/playlists/search?query=Funasitien only return albums, wheras https://discoveryprovider.audius.co/v1/full/search/full?query=Funasitien did return an album

But Funasitien, this is not the album endpoint, this is the playlist one!

The issue is there is no album endpoint existing. I belive that albums are also playslit, but are wrongly indexed (the is_album value exist in the playlist shema, sooo)

@sliptype
Copy link
Contributor

Thanks for the report! You are correct that albums and playlists are both using the same schema. We refer to them as "collections" internally but haven't updated the api to reflect that.

I would recommend using the full search endpoint and using the albums field in the response. I'll create a ticket to fix the playlists/search endpoint!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants