1
Fork 0

Add sorting functionality to user search endpoint

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-12-10 03:54:47 +03:00
parent ad9c5acba9
commit dbbd359984
No known key found for this signature in database
GPG key ID: 3F6B55640AA6682F
3 changed files with 105 additions and 1 deletions

View file

@ -1146,6 +1146,20 @@
"name": "login_name",
"in": "query"
},
{
"enum": [
"oldest",
"newest",
"alphabetically",
"reversealphabetically",
"recentupdate",
"leastupdate"
],
"type": "string",
"description": "sort order of results",
"name": "sort",
"in": "query"
},
{
"type": "integer",
"description": "page number of results to return (1-based)",