githaven-fork/templates/swagger
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
..
ui.tmpl Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
v1_json.tmpl api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00