# lol.dids.sites.getTileIcon

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.sites.getTileIcon)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.sites.getTileIcon/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.sites.getTileIcon/examples)

## Definitions

### `lol.dids.sites.getTileIcon`

**Type**: `query`

The bytes of a tile's icon blob, served with the blob's declared mimeType and an immutable one-year Cache-Control, because the URL names a CID. Without it a directory cannot show icons: the author's PDS may have collected the blob and bard has no public blob endpoint other than per-site RASL.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes | The icon blob's CID. |

#### Output

**Encoding**: `*/*`

#### Errors

- **TileNotFound**: No published tile references that icon CID.

## Raw Schema

```json
{
  "id": "lol.dids.sites.getTileIcon",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "TileNotFound",
          "description": "No published tile references that icon CID."
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "type": "params",
        "required": [
          "cid"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid",
            "description": "The icon blob's CID."
          }
        }
      },
      "description": "The bytes of a tile's icon blob, served with the blob's declared mimeType and an immutable one-year Cache-Control, because the URL names a CID. Without it a directory cannot show icons: the author's PDS may have collected the blob and bard has no public blob endpoint other than per-site RASL."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
