place.stream.branding.updateBlob

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

Repository @stream.place did:plc:rbvrr34edl5ddpuwcubjiost not from the namespace authority
Details · procedure
Kindprocedure
Authoritybranding.stream.place
Indexed
cid bafyreibpxjbzrtpuweqwug4pjeny6b44vnvsz3pawpde7zro23ff3rem5e

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.dataNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.keyNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.mimeTypeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}