Enable ordering and sorting for the Deployments API
Summary
Sort option is not there for get deployment api. I don't find any methods to get details of the latest deployment.
Steps to reproduce
I've tried
https://gitlab.example.com/api/v4/projects/1/deployments?sort=desc&order_by=id
What is the current bug behavior?
It always returns first 20 deployments. That's all.
What is the expected correct behavior?
Results should be in sorted order. So than one can easily find details about the latest deployment.
Edited by Mark Fletcher