From bcb0374174ecb420714e13c90fbaa721d54688d1 Mon Sep 17 00:00:00 2001 From: trenc Date: Wed, 10 Apr 2024 15:32:46 +0200 Subject: [PATCH 1/2] fix: overwrite limit query parameter get all of it back --- src/app/Http/Controllers/StatisticsController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/Http/Controllers/StatisticsController.php b/src/app/Http/Controllers/StatisticsController.php index a0bddaf..e9d58be 100644 --- a/src/app/Http/Controllers/StatisticsController.php +++ b/src/app/Http/Controllers/StatisticsController.php @@ -21,6 +21,8 @@ public function index(Request $request): JsonResponse 'ScoreTypeId' => 'ScoreTypeId' ]; + $request->merge(['limit' => 1000000]); + $initialSortColumn = 'Year'; $model = new SummaryStatsView(); From fbef9cf76a6b410021cf840eec517b01a31abc7d Mon Sep 17 00:00:00 2001 From: trenc Date: Wed, 10 Apr 2024 15:35:00 +0200 Subject: [PATCH 2/2] build: bump version --- src/storage/api-docs/api-docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/api-docs/api-docs.yaml b/src/storage/api-docs/api-docs.yaml index e2d6278..417ad58 100644 --- a/src/storage/api-docs/api-docs.yaml +++ b/src/storage/api-docs/api-docs.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: - version: 1.37.0 + version: 1.37.1 title: Transcribathon Platform API v2 description: This is the documentation of the Transcribathon API v2 used by [https:transcribathon.eu](https://transcribathon.eu/).
For authorization you can use the the bearer token you are provided with.