Add version sort to tags API
What does this MR do and why?
Contributes to #17801 (closed)
Problem
Tags API doesn't support sort by semantic version.
Solution
- Allow to provide
version
value toorder_by
parameter - Update tags API documentation
How to set up and validate locally
- Visit http://127.0.0.1:3000/api/v4/projects/2/repository/tags?order_by=version&sort=desc
- Verify that sort order is correct
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vasilii Iakliushin