Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

artist releases sort order

artist releases sort order

Original note: I feel like /artists/{id}/albums was (and should be) returning releases in popularity order, to match the Popular Releases section of the artist page in the app. This seems to have broken recently, and the releases are currently coming back in seemingly random order. This forces me to get all the artist's albums from this endpoint, and then make N/50 additional calls to /albums to get the full album objects so I can sort the list by popularity.

 

Update: No, I was just forgetting that the list is sorted first by release type. But it would be nice to have an option for whether to get the releases in either date or popularity order.

Reply
6 Replies

When I try on the developer portal I get a response where the albums are sorted with the most recent album on top. Do you have an example artist ID where you are getting the seemingly random order?

Something that could be perceived as random order is the fact that if you request to include groups `album` and `single`. Then you will get those concatenated. So your order might look something like this:

1. Most recent album
2. ...
3. Oldest album
4. Most recent single
5. ...
6. Oldest single

 

However, the appears on is unordered.

Oh, yes, I think you're right and I just wasn't thinking about the fact that the list is sorted by type, and then date. It would be nice to have an option for the sort order, but this is a feature request, not a bug.

Thanks for confirming Glenn. I agree that the ability to choose sorting order would be nice. I'll make a note of this in the feature requests.

Is there a way to disable this so that singles are mixed in with albums based on release date?

Not today jado1x1, maybe in the future.

Suggested posts