place.stream.branding.updateBlob

did:web:stream.place

Documentation

Update or create a branding asset blob. Requires admin authorization.

main procedure

Update or create a branding asset blob. Requires admin authorization.

Input

Encodingapplication/json
broadcaster 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

Encodingapplication/json
success 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.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "key",
        "data",
        "mimeType"
      ],
      "properties": {
        "key": {
          "type": "string",
          "description": "Branding asset key (mainLogo, favicon, siteTitle, etc.)"
        },
        "data": {
          "type": "string",
          "description": "Base64-encoded blob data"
        },
        "width": {
          "type": "integer",
          "description": "Image width in pixels (optional, for images only)"
        },
        "height": {
          "type": "integer",
          "description": "Image height in pixels (optional, for images only)"
        },
        "mimeType": {
          "type": "string",
          "description": "MIME type of the blob (e.g., image/png, text/plain)"
        },
        "broadcaster": {
          "type": "string",
          "format": "did",
          "description": "DID of the broadcaster. If not provided, uses the server's default broadcaster."
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "Unauthorized",
      "description": "The authenticated DID is not authorized to modify branding"
    },
    {
      "name": "BlobTooLarge",
      "description": "The blob exceeds the maximum size limit"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "success"
      ],
      "properties": {
        "success": {
          "type": "boolean"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": null,
  "description": "Update or create a branding asset blob. Requires admin authorization."
}

Lexicon Garden

@