| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
36e7cb9755 |
Update Swagger API to match the return of /users/search (#4847)
Signed-off-by: Andrew Thornton <art27@cantab.net> |
7 years ago |
|
|
c43399cad8 |
Fixes repo branch endpoint summary (#4893)
in browser saw `/repos/{owner}/{repo}/branches/{branch} List a repository's branches` fixed
Addresses https://github.com/go-gitea/debian-packaging/pull/1
Fixes https://github.com/go-gitea/gitea#4892
|
7 years ago |
|
|
d293a2b9d6 | Add sudo functionality to the API (#4809) | 7 years ago |
|
|
912953e82a | API /admin/users/{username} missing parameter (#4775) | 7 years ago |
|
|
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>
|
7 years ago |
|
|
a74426d631 |
Swagger.v1.json template (#3572)
* Turn swagger.v1.json into template * Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER |
7 years ago |