# tech.waow.brand.getBrand

> Published by [waow.tech](https://lexicon.garden/identity/did:plc:siv7zbedip4vcet4v67piibr)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.brand.getBrand)
- [Documentation](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.brand.getBrand/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.brand.getBrand/examples)

## Definitions

### `tech.waow.brand.getBrand`

**Type**: `query`

Resolve brand assets for one or more namespaces. Always answers for a well-formed namespace or identity: when no authority has declared and no avatar can be borrowed, a deterministic generated icon is returned. Does not require auth; results are not personalized.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `namespace` | `array` | Yes | Namespaces, NSIDs, handles or DIDs to resolve. A namespace is reverse-DNS ('fm.plyr.song'); a handle is not ('plyr.fm'). Both are accepted and are distinguished exactly, since a namespace cannot resolve as an identity. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `brands` | `array` | Yes |  |

#### Errors

- **InvalidNamespace**

## Raw Schema

```json
{
  "id": "tech.waow.brand.getBrand",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "InvalidNamespace"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "brands"
          ],
          "properties": {
            "brands": {
              "type": "array",
              "items": {
                "ref": "tech.waow.brand.defs#brandView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "namespace"
        ],
        "properties": {
          "namespace": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 317
            },
            "maxLength": 10,
            "minLength": 1,
            "description": "Namespaces, NSIDs, handles or DIDs to resolve. A namespace is reverse-DNS ('fm.plyr.song'); a handle is not ('plyr.fm'). Both are accepted and are distinguished exactly, since a namespace cannot resolve as an identity."
          }
        }
      },
      "description": "Resolve brand assets for one or more namespaces. Always answers for a well-formed namespace or identity: when no authority has declared and no avatar can be borrowed, a deterministic generated icon is returned. Does not require auth; results are not personalized."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
