0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-03 17:54:11 +02:00
Christopher Homberger aef1d49c32 Reduce paging inconsistency
* disallow bypassing configured limits in api
* allow per_page without documenting it
* allow limit for the only endpoint only allowing per_page

This is an paging inconsistency api review, please comment your opinion about the added code comments

* 	ctx.SetLinkHeader(int(totalNumOfBranches), listOptions.PageSize) missing for several api endpoints should I add them everywhere?

* do we want to accept per_page in api?
  * better compatibility with existing keda github_runner
2025-05-28 20:51:27 +02:00
..
2025-05-28 20:51:27 +02:00
2025-04-01 10:14:01 +00:00