0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-24 08:36:09 +01: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-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-05-28 20:51:27 +02:00
2025-03-13 07:04:50 +08:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-13 07:04:50 +08:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-05-22 12:59:42 +00:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00