You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
I need to get the last import date for a test. Currently, the API (GET
/api/v2/test_imports/) provides them in "from older to recent" order. So the one I want is always at the end.
Describe the solution you'd like
Can you add a parameter to order data at least on the date (created) asc and desc ?
Describe alternatives you've considered
Currently, I do 2 queries. The first one with the test id and a limit of 1, to know the total count of reimport. Then the second is with the test id, a limit of 1 and an offset set to ("total count" minus 1). In this way, the queries are light and fast enough.
Thanks
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
I need to get the last import date for a test. Currently, the API (GET
/api/v2/test_imports/) provides them in "from older to recent" order. So the one I want is always at the end.
Describe the solution you'd like
Can you add a parameter to order data at least on the date (created) asc and desc ?
Describe alternatives you've considered
Currently, I do 2 queries. The first one with the test id and a limit of 1, to know the total count of reimport. Then the second is with the test id, a limit of 1 and an offset set to ("total count" minus 1). In this way, the queries are light and fast enough.
Thanks
The text was updated successfully, but these errors were encountered: