Resolves an atproto lexicon (NSID) to a schema.
Parameters
Output
Encoding
application/jsoncid
stringcid
Required
The CID of the lexicon schema record.
schema
refcom.atproto.lexicon.schema#main
Required
The resolved lexicon schema record.
uri
stringat-uri
Required
The AT-URI of the lexicon schema record.
Errors
LexiconNotFound
No lexicon was resolved for the NSID. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "LexiconNotFound",
"description": "No lexicon was resolved for the NSID."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"cid",
"schema"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "The CID of the lexicon schema record."
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of the lexicon schema record."
},
"schema": {
"ref": "com.atproto.lexicon.schema#main",
"type": "ref",
"description": "The resolved lexicon schema record."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"nsid"
],
"properties": {
"nsid": {
"type": "string",
"format": "nsid",
"description": "The lexicon NSID to resolve."
}
}
},
"description": "Resolves an atproto lexicon (NSID) to a schema."
}