{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A published tile. Without cid the latest published version is returned; a prepared-but-uncommitted version is never returned, and neither is a space tile.",
      "errors": [
        {
          "description": "No such published tile — also the answer for a space tile and for a version known only as pending-publication.",
          "name": "TileNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "space.highport.defs#tileView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "cid": {
            "description": "Pin a specific version; absent returns the latest published one.",
            "format": "cid",
            "type": "string"
          },
          "uri": {
            "description": "The tile record's AT-URI.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "space.highport.sites.getTile",
  "lexicon": 1
}
