# space.highport.sites.getTile

> 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.sites.getTile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.sites.getTile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.sites.getTile/examples)

## Definitions

### `space.highport.sites.getTile`

**Type**: `query`

A published tile. Without cid, returns the latest published version. Never returns a prepared but uncommitted version, or a space tile.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | No | A specific version to return. Defaults to the latest published one. |
| `uri` | `string` (at-uri) | Yes | The tile record's AT-URI. |

#### Output

**Encoding**: `application/json`

#### Errors

- **TileNotFound**: No such published tile. Also returned for a space tile and for a version still pending publication.

## Raw Schema

```json
{
  "id": "space.highport.sites.getTile",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "TileNotFound",
          "description": "No such published tile. Also returned for a space tile and for a version still pending publication."
        }
      ],
      "output": {
        "schema": {
          "ref": "space.highport.defs#tileView",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uri"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid",
            "description": "A specific version to return. Defaults to the latest published one."
          },
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "The tile record's AT-URI."
          }
        }
      },
      "description": "A published tile. Without cid, returns the latest published version. Never returns a prepared but uncommitted version, or a space tile."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
