# place.stream.branding.getBranding

> Published by [did:web:longos.iameli.link](https://lexicon.garden/identity/did:web:longos.iameli.link)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.branding.getBranding)
- [Documentation](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.branding.getBranding/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.branding.getBranding/examples)

## Definitions

### `place.stream.branding.getBranding`

**Type**: `query`

Get all branding configuration for the broadcaster.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `broadcaster` | `string` (did) | No | DID of the broadcaster. If not provided, uses the server's default broadcaster. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `assets` | `array` | Yes | List of available branding assets |

### `place.stream.branding.getBranding#brandingAsset`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `key` | `string` | Yes | Asset key identifier |
| `url` | `string` | No | URL to fetch the asset blob (for images) |
| `data` | `string` | No | Inline data for text assets |
| `width` | `integer` | No | Image width in pixels (optional, for images only) |
| `height` | `integer` | No | Image height in pixels (optional, for images only) |
| `mimeType` | `string` | Yes | MIME type of the asset |

## Raw Schema

```json
{
  "id": "place.stream.branding.getBranding",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "assets"
          ],
          "properties": {
            "assets": {
              "type": "array",
              "items": {
                "ref": "#brandingAsset",
                "type": "ref"
              },
              "description": "List of available branding assets"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "broadcaster": {
            "type": "string",
            "format": "did",
            "description": "DID of the broadcaster. If not provided, uses the server's default broadcaster."
          }
        }
      },
      "description": "Get all branding configuration for the broadcaster."
    },
    "brandingAsset": {
      "type": "object",
      "required": [
        "key",
        "mimeType"
      ],
      "properties": {
        "key": {
          "type": "string",
          "description": "Asset key identifier"
        },
        "url": {
          "type": "string",
          "description": "URL to fetch the asset blob (for images)"
        },
        "data": {
          "type": "string",
          "description": "Inline data for text assets"
        },
        "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 asset"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
