space.highport.sites.resolveDomain
Look up which identity and record serve a domain. Useful for checking who owns a site.
Details · query
| Kind | query |
|---|---|
| Authority | sites.highport.space |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Look up which identity and record serve a domain. Useful for checking who owns a site.",
"errors": [
{
"description": "No active site serves that domain.",
"name": "SiteNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"description": "The identity serving the domain.",
"format": "did",
"type": "string"
},
"space": {
"description": "Present for a domain registered to a space.",
"format": "at-uri",
"type": "string"
},
"uri": {
"description": "The serving record, in space form for a domain registered to a space.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"did",
"uri"
],
"type": "object"
}
},
"parameters": {
"properties": {
"domain": {
"description": "The hostname, in lowercase IDNA A-label form.",
"maxLength": 253,
"type": "string"
}
},
"required": [
"domain"
],
"type": "params"
},
"type": "query"
}
},
"id": "space.highport.sites.resolveDomain",
"lexicon": 1
}