Auth
Remember the chosen UI locale: on the signed-in user, and in a cookie the site root reads to pick the locale it redirects to. The page navigates itself afterwards.
get/api/locale/switch
Request
- The document declares no server URL.
- Auth: none declared
Query parameters
locale'ru' | 'en' | 'es' required
UI locale (the legacy locale set). The frontend Locale type is generated from this.
Response
A remembered locale choice and the cookie that carries it.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking