Export i18next
What it does
Section titled “What it does”Exports an i18next-compatible archive: a gzip-compressed tar containing <locale>/translation.json files. Keys use dotted group paths plus the entry technical name. Missing translations fall back to the entry’s base term.
Request
Section titled “Request”GET /api/v1/projects/{id}/export/i18next
| Auth | Required |
| Body | None |
Path parameters
Section titled “Path parameters”| Name | Type | Description |
|---|---|---|
id | string | Project id |
Query parameters
Section titled “Query parameters”| Name | Type | Description |
|---|---|---|
format | boolean | When true, pretty-print JSON inside the archive |
Headers
Section titled “Headers”Authorization: Bearer <your-api-key>Example
Section titled “Example”curl -sS "https://collingo.app/api/v1/projects/clproj0123456789abcdefgh/export/i18next" \ -H "Authorization: Bearer <your-api-key>" \ -o i18next.tar.gzExtract example:
tar -tzf i18next.tar.gz# de-DE/translation.json# en-US/translation.jsonExample de-DE/translation.json content:
{ "footer.labelImprint": "Impressum"}Response
Section titled “Response”200 OK
Section titled “200 OK”Content-Type: application/gzip — binary tar.gz download (often with a Content-Disposition filename).
Errors
Section titled “Errors”| Status | When |
|---|---|
401 | Missing or invalid API key |
404 | Project not found |
500 | Export failed |