From cc0ff476eebbbdf5090622dd52adaf29610cd521 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:33:38 +0000 Subject: [PATCH 1/2] STRINGS-3520 - mention word/character count stats in locale report description GET /projects/{project_id}/report/locales returns per-locale (and, via the tag parameter, per-job) word/character count and translation statistics, but the summary/description never mentioned these fields, making the endpoint unsearchable for queries like "job word count". Co-Authored-By: Claude Sonnet 5 --- paths/reports/locales/index.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/paths/reports/locales/index.yaml b/paths/reports/locales/index.yaml index 86c463b7e..b9078e54f 100644 --- a/paths/reports/locales/index.yaml +++ b/paths/reports/locales/index.yaml @@ -1,6 +1,14 @@ --- -summary: List Locale Reports -description: List all locale reports for the given project +summary: List Locale Reports (word count, character count, translation statistics) +description: >- + List all locale reports for the given project. Each report includes + translation statistics per locale, including word count and character + count fields (`source_word_count`, `word_count`, `word_count_unverified`, + `word_count_missing`) as well as translation completion statistics + (`keys_count`, `completed_translations_count`, `untranslated_keys_count`, + `unverified_translations_count`, `reviewed_translations_count`, and their + percentages). Use the `tag` parameter to scope the report to a specific + job (e.g. its job tag) to get job-scoped word count statistics. operationId: report/locales/list tags: - Reports From 9e2c169d9ed30aae4280c9a5efc05b5823c609f3 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:41:13 +0000 Subject: [PATCH 2/2] docs: regenerate compiled bundle for locale report description update The compare-output CI check diffs the checked-in doc/compiled.json against a freshly bundled main.yaml. The previous commit updated the summary/description text in paths/reports/locales/index.yaml but did not regenerate the bundle, so the check failed. Regenerate it via `npx swagger-cli bundle -t json -w 300 main.yaml`. Co-Authored-By: Claude Sonnet 5 --- doc/compiled.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/compiled.json b/doc/compiled.json index 08a4b448f..d04ac27c7 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -6592,8 +6592,8 @@ }, "/projects/{project_id}/report/locales": { "get": { - "summary": "List Locale Reports", - "description": "List all locale reports for the given project", + "summary": "List Locale Reports (word count, character count, translation statistics)", + "description": "List all locale reports for the given project. Each report includes translation statistics per locale, including word count and character count fields (`source_word_count`, `word_count`, `word_count_unverified`, `word_count_missing`) as well as translation completion statistics (`keys_count`, `completed_translations_count`, `untranslated_keys_count`, `unverified_translations_count`, `reviewed_translations_count`, and their percentages). Use the `tag` parameter to scope the report to a specific job (e.g. its job tag) to get job-scoped word count statistics.", "operationId": "report/locales/list", "tags": [ "Reports"