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

Procedure

procedure · POST

Input

application/json

broadcaster

string · did

DID of the broadcaster. If not provided, uses the server's default broadcaster.

data

requiredstring

Base64-encoded blob data

height

integer

Image height in pixels (optional, for images only)

key

requiredstring

Branding asset key (mainLogo, favicon, siteTitle, etc.)

mimeType

requiredstring

MIME type of the blob (e.g., image/png, text/plain)

width

integer

Image width in pixels (optional, for images only)

Output

application/json

success

requiredboolean

Errors

Unauthorized

The authenticated DID is not authorized to modify branding

BlobTooLarge

The blob exceeds the maximum size limit

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • place.stream.branding.deleteBlob

    procedure not from the namespace authority

    Delete a branding asset blob. Requires admin authorization.

  • place.stream.branding.getBlob

    query not from the namespace authority

    Get a specific branding asset blob by key.

  • place.stream.branding.getBranding

    query not from the namespace authority

    Get all branding configuration for the broadcaster.

  • place.stream.branding.importBundle

    procedure not from the namespace authority

    Apply a branding bundle (see exportBundle). By default the bundle replaces the node's branding: keys it does not mention are removed. Every value is validated like updateBlob. Requires admin authorization.

  • Sets a community's picture or banner. The bytes are uploaded to the community's own repo, which is why this goes through the AppView: a community's blobs can only be written with the community credentials the AppView holds, and a space record must reference a blob living in the repo that holds the record. Replaces whatever was there before.