# space.highport.admin.listTileBindings

> Published by [lexicons.highport.space](https://lexicon.garden/identity/did:plc:ciygg5hma4q7ah2kxaszkyob)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.admin.listTileBindings)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.admin.listTileBindings/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.admin.listTileBindings/examples)

## Definitions

### `space.highport.admin.listTileBindings`

**Type**: `query`

The domains serving a tile. Give exactly one of uri (every version) or cid (one version).

#### 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 |  |

### `space.highport.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": "space.highport.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 serving a tile. Give exactly one of uri (every version) or cid (one version)."
    },
    "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
}
```
