1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 14:44:41 +00:00
gitea/routers/api/v1
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
..
admin Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
misc Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
repo [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
settings Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
swagger Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
user Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
utils [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
api.go [API] List, Check, Add & delete endpoints for repository teams (#13630) 2021-02-01 22:57:12 +01:00