Need to orderBy API project/versions

Adria Alonso
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 29, 2019

Hello All,

I'm trying to user the orderBy parameter on getting projects versions, but Its not working.

I know that Ordering is not available in all resources/endpoints, I just assume its not working in that since you have the paginated versions.

Any Idea or suggestion?

Thank you in advance

1 answer

1 accepted

0 votes
Answer accepted
Adria Alonso
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 8, 2019

I've sorted it out quite simply.

Since those api endpoints does not support orderby parameters on the request.

You can use a reverse()/invert()/... methods depending on your development platform and programming language preferences.

So in my case it was pretty easy adding a .reverse() 

Notice this isnt an ORDER BY behaviour, its just working as LIFO or FIFO

Suggest an answer

Log in or Sign up to answer