{
"id": "space.highport.sites.getSite",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "SiteNotFound",
"description": "No active site serves that domain."
}
],
"output": {
"schema": {
"ref": "space.highport.defs#siteView",
"type": "ref"
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 253,
"description": "The hostname, in lowercase IDNA A-label form."
}
}
},
"description": "The public view of the site serving a domain: its owner, its active revision, and the tile it binds, if any. No DNS or diagnostic detail. A domain registered to a space includes the space."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}