Module Cephalopod_models.Com_Atproto_Sync_GetHostStatus

lexicon "com.atproto.sync.getHostStatus"

def main

type main_params = {
  1. hostname : string;
    (*

    Hostname of the host (eg, PDS or relay) being queried.

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : hostname:string -> main_params
val main_params_of_value : main_params Cephalopod_dasl.Value.Util.conv
val main_params_to_value : main_params -> Cephalopod_dasl.Value.t
type main_output = {
  1. hostname : string;
  2. seq : int64 option;
    (*

    Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).

    *)
  3. accountCount : int64 option;
    (*

    Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts.

    *)
  4. status : Types.com_atproto_sync_defs_hoststatus option;
}
val show_main_output : main_output -> Ppx_deriving_runtime.string
val main_output_of_value : main_output Cephalopod_dasl.Value.Util.conv
val main_output_to_value : main_output -> Cephalopod_dasl.Value.t
type main_error = [
  1. | `HostNotFound
]
val show_main_error : main_error -> Ppx_deriving_runtime.string

Returns information about a specified upstream host, as consumed by the server. Implemented by relays.