At the moment it's possible to order by id, file, name, hit, rating_score, date_creation, date_available, or random with the pwg.categories.getImages API call. It would be great to be able to reverse the direction of the sorting (with the exception of random).
So for example https://example.org/ws.php?format=php&method=pwg.categories.getImages&order=date_creation&direction=desc would give the most recently-created images (at the moment, without the direction sort option, it returns images without any creation date first).
At the moment it's possible to order by id, file, name, hit, rating_score, date_creation, date_available, or random with the `pwg.categories.getImages` API call. It would be great to be able to reverse the direction of the sorting (with the exception of random).
So for example `https://example.org/ws.php?format=php&method=pwg.categories.getImages&order=date_creation&direction=desc` would give the most recently-created images (at the moment, without the direction sort option, it returns images *without any creation date* first).
<!-- github-sync-id:205056142 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
At the moment it's possible to order by id, file, name, hit, rating_score, date_creation, date_available, or random with the
pwg.categories.getImagesAPI call. It would be great to be able to reverse the direction of the sorting (with the exception of random).So for example
https://example.org/ws.php?format=php&method=pwg.categories.getImages&order=date_creation&direction=descwould give the most recently-created images (at the moment, without the direction sort option, it returns images without any creation date first).you can fill the order parameter with "date_creation desc" to sort descending
Thanks! I didn't see that in the documentation.