0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-25 19:15:24 +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-02-20 12:39:21 -08:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-05-28 20:51:27 +02:00
2025-05-15 16:28:31 +00:00
2025-05-28 20:51:27 +02:00
2025-04-01 10:14:01 +00:00
2025-05-28 20:51:27 +02:00
2025-03-31 01:53:48 -04:00
2025-04-08 04:15:15 +00:00
2025-05-28 20:51:27 +02:00
2025-04-13 02:24:32 +00:00
2025-03-31 01:53:48 -04:00
2024-12-30 14:35:46 -08:00