# List content with translations

Canonical page: https://docs.ovok.com/api/cms-(fhir-legacy)/list-content-with-translations

`GET /cms/{type}/map/{language}`

Lists content items as pairs of the default-language item and its translation in the requested language. Use it for translation screens that show the original next to the translation.

**Auth:** bearer token.
**Scope:** the caller's project (from the token). Only items in that project are listed.

## Behaviour

- `type` is one of `blog`, `video`, `audio`, `template` or `export-template`.
- `language` is the target language and must be one of the languages in your project's locale settings.
- Each result has `source` (the item in the project's default language) and `target` (the item in `language`) for the same key. Either one is missing when that language has no item for the key.
- Pairs are sorted by the target's `date`, newest first, falling back to the source's `date`.
- `search` is a fuzzy match over the title, author name, category, section titles and text, and key of both items.
- `code` keeps only items with that content code.
- `_count` defaults to `10` and `_offset` to `0`. `total` is the number of matching pairs before paging.
- The route is also served under `/internal/cms/{type}`.

## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/cms/blog/map/de-DE?search=sleep&_count=20' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
