Get CMS locales
GET
/v1/projects/me/cms-localesdev
https://api.sandbox.ovok.comBCP-47 locale codes the project offers for content items. The first entry is the project default — public delivery falls back to it when a requested locale has no value on file.
Responses
| Code | Description |
|---|---|
200 | Success. |
400 | The request could not be operated by the server. |
401 | The resource owner or authorization server denied the request. |
404 | The requested resource could not be found. |
422 | The request could not be validated by the server. |
500 | The server encountered an unexpected condition. Please try again later. |
200 → CmsLocalesResponseDto (application/json)
CMS locale configuration for the caller’s current project. Public content delivery falls back to default when a requested locale has no value on file.
locales:string[](required) — BCP-47 codes ordered as configured. Empty when the project has none set yet.default:string(required) — The project default locale — equal tolocales[0](or "" when no locales are configured).
Example
{
"locales": [
"en",
"de",
"fr"
],
"default": "en"
}