forgejo/routers/api/v1
Richard Mahn da1edbfb79 Feature - Pagination for git tree API (#5838)
* Feature - Pagination for git tree API

* Handles case when page is negative

* Does a for loop over the start and end rather than all entries

* Removed redundent logic

* Adds per_page as a query parameter

* Adds DEFAULT_GIT_TREES_PER_PAGE for settings, ran make fmt

* Fix typo in cheat-sheet en

* Makes page start at 1, generated swagger

* Use updates to SDK

* Updates to use latest sdk

* Updates swagger for tree api

* Adds test for GetTreeBySHA

* Updates per PR reviews

* Updates per PR reviews

* Remove file

* Formatting

* Fix to swagger file

* Fix to swagger

* Update v1_json.tmpl

* Fix to swagger file
2019-02-06 18:19:26 +00:00
..
admin New API routes added (#5594) 2019-01-23 17:30:19 -05:00
convert Fix create team, update team missing units (#5188) 2018-11-10 14:45:32 -05:00
misc Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
org api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
repo Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00
swagger Add single commit API support (#5843) 2019-02-02 22:35:17 -05:00
user Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
utils
api.go Add single commit API support (#5843) 2019-02-02 22:35:17 -05:00