Admin Settings: Locales
Upload a locale logo
Changed onSend multipart/form-data with logo (an image: jpeg, jpg, png or webp). Stored as locales/{code}.{extension}, replacing the current logo. Returns the locale detail.
post/settings/locales/{id}/logo
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Example:2
Locale ID.
Request body multipart/form-data
Response
Logo stored. Returns the locale detail.
Changes
- info
endpoint added
- info