feat: add organization-level concordance search - #399
Merged
andrii-bodnar merged 1 commit intoSep 7, 2026
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The new org-scoped endpoints are implemented with dedicated request models, correct routes, and corresponding mock-based tests/fixtures, aligning with the linked requirements.
Pull request overview
Adds organization-level concordance search support to the Java Crowdin API client, extending existing project-scoped concordance functionality for glossaries and translation memories while reusing current concordance response models.
Changes:
- Added organization-scoped concordance API methods for Glossaries (
POST /glossaries/concordance) and TMs (POST /tms/concordance). - Introduced dedicated request models using
expressions(and optionaluserId) for the new org-scoped endpoints. - Added/updated tests and request fixtures to cover the new endpoints.
File summaries
| File | Description |
|---|---|
| src/main/java/com/crowdin/client/glossaries/GlossariesApi.java | Adds org-level glossary concordance method targeting /glossaries/concordance. |
| src/main/java/com/crowdin/client/glossaries/model/SearchOrganizationConcordanceRequest.java | New request model for org-level glossary concordance with expressions (+ optional userId). |
| src/main/java/com/crowdin/client/translationmemory/TranslationMemoryApi.java | Adds org-level TM concordance method targeting /tms/concordance. |
| src/main/java/com/crowdin/client/translationmemory/model/SearchOrganizationConcordanceRequest.java | New request model for org-level TM concordance with required fields + expressions (+ optional userId). |
| src/test/java/com/crowdin/client/glossaries/GlossariesApiTest.java | Adds mock + test validating org-level glossary concordance call and response mapping. |
| src/test/java/com/crowdin/client/translationmemory/TranslationMemoryApiTest.java | Adds mock + test validating org-level TM concordance call and response mapping. |
| src/test/resources/api/glossaries/organizationConcordanceSearchRequest.json | Adds request fixture for org-level glossary concordance (includes expressions + userId). |
| src/test/resources/api/translationmemory/organizationConcordanceSearchRequest.json | Adds request fixture for org-level TM concordance (includes required fields + expressions + userId). |
Review details
- Files reviewed: 8/8 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
expressionsand optionaluserIdWhy
Crowdin now exposes organization-scoped concordance endpoints that search across all accessible glossaries and translation memories.
Testing
./gradlew buildCloses #394