API: Sort apps by latest build

@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.

1 Like

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

2 Likes

Is it already live? :slight_smile:

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

1 Like

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

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

1 Like

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

1 Like

Hello there @ubuntudroid,

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

3 Likes

Awesome, thanks a lot guys! :kissing_heart:

2 Likes