forgejo/vendor/code.gitea.io/sdk/gitea
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_org.go
admin_repo.go
admin_user.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
attachment.go
doc.go
fork.go
gitea.go Fix new release creation API to allow empty target (#5870) 2019-01-30 11:33:00 -05:00
hook.go Fix new release creation API to allow empty target (#5870) 2019-01-30 11:33:00 -05:00
issue.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
issue_comment.go
issue_label.go
issue_milestone.go
issue_tracked_time.go
lfs_lock.go
miscellaneous.go
org.go
org_member.go
org_team.go api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
pull.go
release.go Fix new release creation API to allow empty target (#5870) 2019-01-30 11:33:00 -05:00
repo.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
repo_branch.go
repo_collaborator.go
repo_commit.go Fix new release creation API to allow empty target (#5870) 2019-01-30 11:33:00 -05:00
repo_file.go
repo_key.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
repo_refs.go Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
repo_tag.go Fix new release creation API to allow empty target (#5870) 2019-01-30 11:33:00 -05:00
repo_tree.go Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00
repo_watch.go
status.go
user.go
user_app.go
user_email.go
user_follow.go
user_gpgkey.go
user_key.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
user_search.go
utils.go