Returns information about a specified upstream host, as consumed by the server. Implemented by relays.
Parameters
Output
Encoding
application/jsonaccountCount
integer
Optional
Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts.
hostname
string
Required
No description provided.
seq
integer
Optional
Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).
status
refcom.atproto.sync.defs#hostStatus
Optional
No description provided.
Errors
HostNotFound
Try It
Direct PDS XRPC methods (com.atproto.*) are disabled in Try It for security reasons.
View raw schema
{
"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."
}