7
Views
1
Comments
Do we have an option to sort the LifeTime API response in DESC Order
Question

Hi Team,

We are trying to retrieve module versions using the LifeTime APIs by providing the module key. However, the API is currently returning the results in ascending order.

We are interested in fetching the latest records first, i.e., in descending order. Could you please confirm if there is any parameter or approach available to achieve this?

Thanks in advance,

Sandeep

2023-09-06 07-26-35
Sudip Pal

Hi @Sandeep Kumar Kolli 

We cannot sort it via API parameter as there is no such request parameter available to sort. As a workaround you can manually sort using your own logic.

Thanks,

Sudip

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.