Skip to main content

Search mapped content

GET /cms/{type}/map/{language}
GET /internal/cms/{type}/map/{language}
alphahttps://api.sandbox.ovok.com

Search Mapped Content

Search CMS content with a side-by-side mapping between the project's default language and a target language.
Each result contains a source (default-language entry) and a target (requested-language entry) for the same content key. This is useful for translation management UIs where editors need to see original and translated content together.

Path Parameters

ParameterDescriptionExample
typeContent type (e.g. article, faq, exercise)article
languageTarget ISO language code to map against the default languagede-DE

Query Parameters

ParameterTypeDescriptionDefault
searchstringFree-text fuzzy search across title, section text, author, and key-
codestringFilter by content code-
_countnumberPage size10
_offsetnumberNumber of items to skip0

Example cURL request

curl -X GET \
--url 'https://api.dev.ovok.com/cms/article/map/de-DE?search=Blog&_count=20&_offset=0' \
-H 'Authorization: Bearer <token>'

Response

{
"total": 1,
"resources": [
{
"source": { "title": "My Blog", "language": "en-US", "key": "article-my-blog-a1b2c3d4" },
"target": { "title": "Mein Blog", "language": "de-DE", "key": "article-my-blog-a1b2c3d4" }
}
]
}

Notes: If a content key exists in the default language but has no translation yet, target will be absent from that entry. The reverse is also possible if orphaned translations exist.

Parameters

NameInTypeRequiredDescription
typepathstringyes
languagepathstringyes
searchquerystringno
codequerystringno
_countquerystringno
_offsetquerystringno

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.