Update or create a branding asset blob. Requires admin authorization.
Input
Encoding
application/jsonbroadcaster
stringdid
Optional
DID of the broadcaster. If not provided, uses the server's default broadcaster.
data
string
Required
Base64-encoded blob data
height
integer
Optional
Image height in pixels (optional, for images only)
key
string
Required
Branding asset key (mainLogo, favicon, siteTitle, etc.)
mimeType
string
Required
MIME type of the blob (e.g., image/png, text/plain)
width
integer
Optional
Image width in pixels (optional, for images only)
Output
Encoding
application/jsonsuccess
boolean
Required
No description available.
Errors
Unauthorized
The authenticated DID is not authorized to modify branding BlobTooLarge
The blob exceeds the maximum size limit Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Update or create a branding asset blob. Requires admin authorization.",
"errors": [
{
"description": "The authenticated DID is not authorized to modify branding",
"name": "Unauthorized"
},
{
"description": "The blob exceeds the maximum size limit",
"name": "BlobTooLarge"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"broadcaster": {
"description": "DID of the broadcaster. If not provided, uses the server's default broadcaster.",
"format": "did",
"type": "string"
},
"data": {
"description": "Base64-encoded blob data",
"type": "string"
},
"height": {
"description": "Image height in pixels (optional, for images only)",
"type": "integer"
},
"key": {
"description": "Branding asset key (mainLogo, favicon, siteTitle, etc.)",
"type": "string"
},
"mimeType": {
"description": "MIME type of the blob (e.g., image/png, text/plain)",
"type": "string"
},
"width": {
"description": "Image width in pixels (optional, for images only)",
"type": "integer"
}
},
"required": [
"key",
"data",
"mimeType"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"parameters": null,
"type": "procedure"
}