# lol.dids.admin.listTileBindings

> 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.admin.listTileBindings)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.listTileBindings/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.listTileBindings/examples)

## Definitions

### `lol.dids.admin.listTileBindings`

**Type**: `query`

The domains bound to a tile — incident response's "who is serving this". Exactly one of uri and cid is given; uri covers every version, cid one.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | No | One tile version. Mutually exclusive with uri. |
| `uri` | `string` (at-uri) | No | The tile record's AT-URI. Mutually exclusive with cid. |

#### Output

**Encoding**: `application/json`

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

### `lol.dids.admin.listTileBindings#binding`

**Type**: `object`

One site serving one version of a tile.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | The site owner, not the tile author. |
| `domain` | `string` | Yes |  |
| `tileCid` | `string` (cid) | Yes | The tile version the site pinned. |
| `activatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "lol.dids.admin.listTileBindings",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "bindings"
          ],
          "properties": {
            "bindings": {
              "type": "array",
              "items": {
                "ref": "#binding",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid",
            "description": "One tile version. Mutually exclusive with uri."
          },
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "The tile record's AT-URI. Mutually exclusive with cid."
          }
        }
      },
      "description": "The domains bound to a tile — incident response's \"who is serving this\". Exactly one of uri and cid is given; uri covers every version, cid one."
    },
    "binding": {
      "type": "object",
      "required": [
        "domain",
        "did",
        "tileCid",
        "activatedAt"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "The site owner, not the tile author."
        },
        "domain": {
          "type": "string"
        },
        "tileCid": {
          "type": "string",
          "format": "cid",
          "description": "The tile version the site pinned."
        },
        "activatedAt": {
          "type": "string",
          "format": "datetime"
        }
      },
      "description": "One site serving one version of a tile."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
