gitea/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 Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
admin_repo.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
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 Issue due date (#3794) 2018-05-01 22:05:28 +03:00
doc.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
fork.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
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 Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_label.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_milestone.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_tracked_time.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
lfs_lock.go Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
miscellaneous.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
org.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
org_member.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
org_team.go api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
pull.go Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
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 Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo_collaborator.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
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 Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
status.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user.go API /admin/users/{username} missing parameter (#4775) 2018-08-23 19:59:47 -04:00
user_app.go Add ability to delete a token (#4235) 2018-07-06 21:54:30 -04:00
user_email.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
user_follow.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
user_gpgkey.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
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 Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
utils.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00