Copr API v3 no longer returns sorted results
by 藍挺瑋
Hello,
It seems that Copr API v3 no longer sorts the result array. For example, I
expect
https://copr.fedorainfracloud.org/api_3/build/list/?ownername=lantw44&pro...
to return an array of 'items' sorted by 'id', but instead, it returns a result
which I can't understand how it is sorted:
"id": 855774,
"id": 798132,
"id": 746031,
"id": 786267,
"id": 786713,
"id": 861866,
"id": 787056,
"id": 783455,
"id": 798340,
"id": 859005,
Is it an expected behavior? I don't want to request all data and sort myself. It
is slow and the only thing I need is the version number of the latest build.
3 years, 10 months