Skip to main content

Get all localizations

GET /localization/{language}
devhttps://api.sandbox.ovok.com

Get all localizations

All query parameters are FHIR query parameteters and therefore optional.

Parameters

Parameter ExampleDescription
category=language|en-USGet all localizations for the language en-US
category=key|home.aboutGet all localizations for the key home.about
title:contains=About PageGet all localizations where the value of the title contains About Page
_offset=0Offset of the first localization
_count=10Count of the localizations

NOTE: The provided language must be enabled in the system by calling Locale APIs.

Parameters

NameInTypeRequiredDescription
languagepathstringyesBCP-47 locale code drawn from the i18n ISO list. Use the short form (en, de) for the platform-default region, or the full form (en-US, de-DE) for a specific variant.
_countquerystringnoPage size. Positive integer; defaults to 10.
_offsetquerystringnoZero-indexed offset into the result set. Defaults to 0.
_sortquerystringnoSort key. Prefix with - for descending order. Defaults to -date (newest first).
searchquerystringnoSubstring filter applied to the localization keys (case-insensitive).

Responses

CodeDescription
200Success.
400The request could not be operated by the server.
401The resource owner or authorization server denied the request.
404The requested resource could not be found.
422The request could not be validated by the server.
500The server encountered an unexpected condition. Please try again later.

200PaginatedSearchResponseDto (application/json)

  • total: number (required)
  • resources: object[] (required)
    • id: string
    • key: string (required) — Dot-separated localization key. Alphanumerics, _, -, . only. Hierarchical convention recommended (e.g. home.screen.title).
    • language: string (required) — BCP-47 locale code drawn from the i18n ISO list. Use the short form (en, de) for the platform-default region, or the full form (en-US, de-DE) for a specific variant.
    • value: string (required)
    • author: object (required)
    • date: string
    • projectId: string