crowdin / crowdin/crowdin-api-client-go

Add multi-value term filters and exportType to Export Glossary

Open
#142 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Go
Stars
10
Forks
18
Avg merge
1h 11m
Merged PRs (30d)
1

Description

The Crowdin API updates the **Export Glossary** (`api.glossaries.exports.post`) request with multi-value term filters and an export-type control in both Crowdin and Crowdin Enterprise. API client libraries should be updated accordingly.

New fields:

- `exportType` — `concepts` (default, keeps every term of a matching concept) or `terms` (only terms matching the active filters).
- `statuses`, `partsOfSpeech`, `types`, `genders`, `authorIds` — array filters that accept one or more values.
- `languageIds` — filter terms by one or more language IDs (up to 50 values).

Deprecated (replaced by their plural array counterparts above, and cannot be combined with them):

- `status` → `statuses`
- `partOfSpeech` → `partsOfSpeech`
- `type` → `types`
- `gender` → `genders`
- `authorId` → `authorIds`

**References:**
- [Export Glossary](https://support.crowdin.com/developer/api/v2/#operation/api.glossaries.exports.post)
- Crowdin Enterprise: [Export Glossary](https://support.crowdin.com/developer/enterprise/api/v2/#operation/api.glossaries.exports.post)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.