Admin Settings: Channels
Upload the channel logo
Changed onSend multipart/form-data with logo (bmp, jpeg, jpg, png, webp). Replaces the current logo. Optional file_name names the stored file and alt_text is saved for the locale sent (or the default locale). Returns the channel detail.
post/settings/channels/{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:1
Channel ID.
Request body multipart/form-data
Example request
{
"file_name": "store-logo",
"alt_text": "Acme store logo",
"locale": "en"
}Response
Stored. Returns the channel detail.
Changes
- info
endpoint added
- info