forgejo-federation/routers/api/v1/repo
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
..
branch.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
collaborators.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
file.go Fix swagger errors (#4220) 2018-06-12 22:59:22 +08:00
fork.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
hook.go Fix swagger errors (#4220) 2018-06-12 22:59:22 +08:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
issue.go Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
issue_comment.go Fix query parameter name comment in issue API (#4421) 2018-07-12 16:40:41 +03:00
issue_label.go fix wrong issue endpoints in swagger doc (#3914) 2018-05-08 14:05:18 +08:00
issue_tracked_time.go Fix swagger errors (#4220) 2018-06-12 22:59:22 +08:00
key.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
label.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Fix swagger errors (#4220) 2018-06-12 22:59:22 +08:00
pull.go Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
release.go Fix some webhooks bugs (#3981) 2018-05-21 10:28:29 +08:00
release_attachment.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
repo.go api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
star.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
status.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
subscriber.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00