add lexicon codegen: vendored lexicons, lex cli and generation scripts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"id": "com.atproto.sync.getHostStatus",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "query",
|
||||
"errors": [
|
||||
{
|
||||
"name": "HostNotFound"
|
||||
}
|
||||
],
|
||||
"output": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"hostname"
|
||||
],
|
||||
"properties": {
|
||||
"seq": {
|
||||
"type": "integer",
|
||||
"description": "Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor)."
|
||||
},
|
||||
"status": {
|
||||
"ref": "com.atproto.sync.defs#hostStatus",
|
||||
"type": "ref"
|
||||
},
|
||||
"hostname": {
|
||||
"type": "string"
|
||||
},
|
||||
"accountCount": {
|
||||
"type": "integer",
|
||||
"description": "Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts."
|
||||
}
|
||||
}
|
||||
},
|
||||
"encoding": "application/json"
|
||||
},
|
||||
"parameters": {
|
||||
"type": "params",
|
||||
"required": [
|
||||
"hostname"
|
||||
],
|
||||
"properties": {
|
||||
"hostname": {
|
||||
"type": "string",
|
||||
"description": "Hostname of the host (eg, PDS or relay) being queried."
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Returns information about a specified upstream host, as consumed by the server. Implemented by relays."
|
||||
}
|
||||
},
|
||||
"$type": "com.atproto.lexicon.schema",
|
||||
"lexicon": 1
|
||||
}
|
||||
Reference in New Issue
Block a user