From 96d4853abdde9d8389aebbf3de218639ebfe992c Mon Sep 17 00:00:00 2001 From: Junior Dev Agent <288084488+junior-ai-bot[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 06:35:22 +0000 Subject: [PATCH] feat(API): add page/per_page params to repo_syncs list endpoint GET /accounts/{account_id}/repo_syncs is paginated server-side via Kaminari (default_per_page = 25), but the spec's parameters list was missing the reusable page/per_page $refs already used by 50+ other list endpoints, even though the Link and Pagination response headers were already declared. Consumers of the spec had no signal that this endpoint returns only a page of results. Co-Authored-By: Claude Sonnet 5 --- doc/compiled.json | 6 ++++++ paths/repo_syncs/index.yaml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/doc/compiled.json b/doc/compiled.json index 08a4b448f..fe45ba0e6 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -26111,6 +26111,12 @@ }, { "$ref": "#/components/parameters/account_id" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per_page" } ], "responses": { diff --git a/paths/repo_syncs/index.yaml b/paths/repo_syncs/index.yaml index 767532e11..e4ba60a58 100644 --- a/paths/repo_syncs/index.yaml +++ b/paths/repo_syncs/index.yaml @@ -7,6 +7,8 @@ tags: parameters: - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" - "$ref": "../../parameters.yaml#/account_id" +- "$ref": "../../parameters.yaml#/page" +- "$ref": "../../parameters.yaml#/per_page" responses: '200': description: OK