1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/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