Add ordering to the git_rate_limit_users_alertlist API call
What does this MR do and why?
This adds ordering to the git_rate_limit_users_alertlist
field of the application/settings
API call.
Issue: #415588
How to set up and validate locally
- Login as admin
- Create a PAT on http://localhost:3000/-/profile/personal_access_tokens with api scope
- Go to http://localhost:3000/admin/application_settings/reporting
- Expand the
Git abuse rate limit
section - Add some users to the
Send notifications to
field - Verify the resulting array of integers when calling the API is ordered
curl -s -H "PRIVATE-TOKEN: ${PAT}" http://localhost:3000/api/v4/application/settings | jq -c .git_rate_limit_users_alertlist
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 Alex Buijs