[API Request] Endpoint to fetch all starred songs from an artist #205
Replies: 2 comments 1 reply
-
|
I think the scope of this could also include getting all songs for a given artist, starred or not, and have a This is also tangentially related to discussions for an endpoint to browse, sort, filter all songs in the library, but I think it's fine to have an API just related to fetching an artist's songs. |
Beta Was this translation helpful? Give feedback.
-
|
You might be right, it actually might be better to use a generic endpoint for filtering everything, are there any open discussions on this you can link me to to read? I still having this endpoint for the time being would be useful though, shall i make any edits to the proposal? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Type of change
API extension
Proposal description
I propose to add an endpoint to query songs that a user has starred from a specific artist, similar to the feature spotify has on artist pages.
This could be very useful to display on the artist page on clients, as there is currently no other decent way of getting this information efficiently (as far as I am aware of)
I am happy to implement this proposal myself. Apologies if there is already a similar discussion, if there was I could not find one. Thanks.
Backward compatibility impact
No response
Backward compatibility
API details
Parameters:
id (string) ID of the artist to query
Returns:
array of songs that the user has starred from that artist
Security impacts
No response
Potential issues
No response
Alternative solutions
A client could query the getStarred endpoint and filter for a specific artist, but for a user with many (100+) starred songs this becomes very inefficient when the artist may only have a handful of starred songs
Beta Was this translation helpful? Give feedback.
All reactions