Export Flutter
What it does
Section titled “What it does”Exports Flutter ARB files as a gzip-compressed tar (app_{lang}.arb per language). Keys are camelCase composites of the group path and entry technical name. Missing translations fall back to the entry’s base term.
If two different paths would produce the same camelCase key, the export fails with a key collision error.
Request
Section titled “Request”GET /api/v1/projects/{id}/export/flutter
| 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/flutter" \ -H "Authorization: Bearer <your-api-key>" \ -o flutter.tar.gzExtract example:
tar -tzf flutter.tar.gz# app_en_US.arb# app_de_DE.arbResponse
Section titled “Response”200 OK
Section titled “200 OK”Content-Type: application/gzip — binary tar.gz download.
Errors
Section titled “Errors”| Status | When |
|---|---|
401 | Missing or invalid API key |
404 | Project not found |
409 | CamelCase key collision (ERR_EXPORT_KEY_COLLISION) |
500 | Export failed |