Get Namespace Translations
const url = 'https://example.com/api/integrations/translations/example/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/integrations/translations/example/exampleGet all translations for a specific namespace.
Returns nested translation structure with ICU parameter schema, matching the format expected by LionRapid library clients.
Args: locale: Target language locale (e.g., “en”, “fr”, “de”) namespace: Translation namespace (e.g., “app”, “common”, “admin”) api_key: Integration API key for authentication
Returns: Complete namespace translations with metadata and schema
HTTP Status: - 200: At least one ready translation found - 404: Namespace doesn’t exist - 423: Namespace exists but zero translations ready
Raises: authentication_error: Invalid API key (401) validation_error: Invalid parameters (400) namespace_locked: Namespace exists but no translations ready (423) not_found: Namespace doesn’t exist (404) internal_error: Server error (500)
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Standard response for all translation requests (namespace and individual).
object
Response metadata
ICU parameter schema mapping keys to parameter lists
object
Nested translation structure
object
Example
{ "meta": { "generated_at": "2025-10-02T12:00:00Z", "locale": "en", "namespace": "app", "source_context": "eng", "version": "1.0.0" }, "schema": { "item": [ "count" ], "user.profile.name": [], "welcome": [] }, "translations": { "item": "{count, plural, =0 {no items} one {# item} other {# items}}", "user": { "profile": { "email": "Email Address", "name": "Name" } }, "welcome": "Welcome to our app!" }}Validation Error
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}