forgejo/routers/api/v1
Allen Wild c40f5d2d4c api: repos/search: add parameters to control the sort order (#3964)
The backend SearchRepositoryByName function supports several sort order
options, hook these up to the /repos/search API.

New parameters for /repos/search:
    'sort':  alpha, created, updated, size, or id
    'order': asc or desc

'sort' defaults to alpha.
'order' defaults to ascending, and is ignored if 'sort' is not specified.
The overall default behavior is unchanged (alphabetically ascending).

This partially implements issue #3963

Signed-off-by: Allen Wild <allenwild93@gmail.com>
2018-08-02 16:10:02 +08:00
..
admin
convert
misc Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
org
repo api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
swagger Issue due date api (#3890) 2018-07-16 14:43:00 +02:00
user Respect email privacy option in user search via API (#4512) 2018-07-25 15:11:22 +03:00
utils
api.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00