532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"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
|
|
}
|