place.stream.branding.updateBlob
Update or create a branding asset blob. Requires admin authorization.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | branding.stream.place |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.dataNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.keyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.mimeTypeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"type": "procedure"
}
},
"id": "place.stream.branding.updateBlob",
"lexicon": 1
}