gitea/routers/api/v1/repo
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
..
branch.go Fixes repo branch endpoint summary (#4893) 2018-09-09 11:36:08 +08:00
collaborators.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
commits.go Add single commit API support (#5843) 2019-02-02 22:35:17 -05:00
file.go Refactor repo.isBare to repo.isEmpty #5629 (#5714) 2019-01-17 19:01:04 -05:00
fork.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
git_ref.go Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
hook.go Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
issue.go Add label names as filter in issue search api (#5946) 2019-02-04 10:20:44 -05:00
issue_comment.go Refactor notification for indexer (#5111) 2019-01-17 22:23:22 +08:00
issue_label.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue_tracked_time.go Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
key.go Fix ssh deploy and user key constraints (#1357) (#5939) 2019-02-03 23:56:53 +00:00
label.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go show only opened milestones on issues page milestone filter (#5051) 2018-11-26 16:45:42 +08:00
pull.go Issue 5924 fix compare button (#5929) 2019-02-03 19:56:18 -05:00
release.go Fix new release creation API to allow empty target (#5870) 2019-01-30 11:33:00 -05:00
release_attachment.go Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
repo.go admin should be able to delete repos even if he is not a member of the organization (#5443) 2018-12-02 11:08:33 -05: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
tree.go Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00
tree_test.go Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00