Skip to main content

Mapped Localizations

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

Map a localization to a target language

All query parameters are FHIR query parameteters.

Parameters

Parameter ExampleDescription
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
targetpathstringyesTarget locale code to map the project default language onto (e.g. de, fr). Must be enabled for the project and cannot equal the default language.
_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.

200PaginatedMapSearchResponseDto (application/json)

  • total: number (required)
  • resources: object[] (required)
    • source: object (required)
    • target: object