Skip to main content

Get CMS locales

GET /v1/projects/me/cms-locales
devhttps://api.sandbox.ovok.com

BCP-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

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.

200CmsLocalesResponseDto (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 to locales[0] (or "" when no locales are configured).

Example

{
"locales": [
"en",
"de",
"fr"
],
"default": "en"
}