0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 05:50:50 +01:00
gitea/routers/api/v1/repo
6543 0d1444751f
[API] Add pagination to ListBranches (#14524)
* make PaginateUserSlice generic -> PaginateSlice

* Add pagination to ListBranches

* add skip, limit to Repository.GetBranches()

* Move routers/api/v1/utils/utils PaginateSlice -> modules/util/paginate.go

* repo_module.GetBranches paginate

* fix & rename & more logging

* better description

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: a1012112796 <1012112796@qq.com>
2021-02-03 20:06:13 +01:00
..
blob.go
branch.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
collaborators.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
commits.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
file.go enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
fork.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
git_hook.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
git_ref.go
hook_test.go
hook.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_comment.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_label.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_reaction.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_stopwatch.go Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729) 2020-09-18 20:09:26 +08:00
issue_subscription.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
issue_tracked_time.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
key.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
label.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
language.go Add language statistics API endpoint (#11737) 2020-06-07 14:48:41 +03:00
main_test.go
migrate.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
milestone.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
mirror.go
pull_review.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
pull.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
release_attachment.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
release_tags.go Delete tag API (#13358) 2020-10-30 20:56:34 -05:00
release.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
repo_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
repo.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
star.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
status.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
subscriber.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
tag.go [API] enable paggination for ListRepoTags (#10454) 2020-02-25 14:07:07 -05:00
teams.go [API] List, Check, Add & delete endpoints for repository teams (#13630) 2021-02-01 22:57:12 +01:00
topic.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
transfer.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
tree.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00