Update or create a branding asset blob. Requires admin authorization.
POST
/xrpc/place.stream.branding.updateBlob
const url = 'https://example.com/xrpc/place.stream.branding.updateBlob';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"key":"example","broadcaster":"example","data":"example","mimeType":"example","width":1,"height":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/xrpc/place.stream.branding.updateBlob \ --header 'Content-Type: application/json' \ --data '{ "key": "example", "broadcaster": "example", "data": "example", "mimeType": "example", "width": 1, "height": 1 }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
key
required
Branding asset key (mainLogo, favicon, siteTitle, etc.)
string
broadcaster
DID of the broadcaster. If not provided, uses the server’s default broadcaster.
string format: did
data
required
Base64-encoded blob data
string
mimeType
required
MIME type of the blob (e.g., image/png, text/plain)
string
width
Image width in pixels (optional, for images only)
integer
height
Image height in pixels (optional, for images only)
integer
Example generated
{ "key": "example", "broadcaster": "example", "data": "example", "mimeType": "example", "width": 1, "height": 1}Responses
Section titled “Responses”Success
Media typeapplication/json
object
success
required
boolean
Example generated
{ "success": true}Bad Request
