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&projectname=chromium&packagename=chromium&order=id&order_type=DESC
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.
_______________________________________________
copr-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/[email protected]