API: Sort apps by latest build


#1

@milosz and me are currently working on an unoffical bitrise Android client. We want to mimic the dashboard thus we need to sort the apps received by GET /me/apps by latest build. As the response uses paging we cannot do that on the client without getting all the apps which can be quite a long list for agencies like us. So it would be great to have the ability to add a sort parameter to the aforementioned request.


#2

This feature is almost finished, should be in PROD soon, good timing! :smiley:


#3

Is it already live? :slight_smile:


#4

Yes, it’s released.
sort_by= should be last_build_at"

E.g. ‘https://api.bitrise.io/v0.1/apps/APP-SLUG/builds?sort_by=last_build_at


#5

Is it documented @norbert? I don’t see it at https://devcenter.bitrise.io/api/v0.1/


#6

@viktorbenei At the moment it is not documented, but it is released.


#8

Got it! Please create a task or otherwise make it sure that it’s documented @norbert! :wink:


#9

Hello there @ubuntudroid,

Here you can find the related documentation from our DevCenter :wink:


#10

Awesome, thanks a lot guys! :kissing_heart: