Admin Settings: Locales
Create a new locale
Creates a locale. Code must be unique and consist of lowercase letters/digits.
post/settings/locales
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"code": "fr",
"name": "French",
"direction": "ltr",
"logo_path": "locales/fr.png"
}Response
Locale created.
Changes
No recorded changes to this operation across all 8 revisions of this API.