Cephalopod_models.Com_Atproto_Sync_ListHosts
lexicon "com.atproto.sync.listHosts"
val pp_main_params :
Ppx_deriving_runtime.Format.formatter ->
main_params ->
Ppx_deriving_runtime.unit
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : ?limit:int64 -> ?cursor:string -> unit -> 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 = {
cursor : string option;
hosts : Types.com_atproto_sync_listhosts_host list;
Sort order is not formally specified. Recommended order is by time host was first seen by the server, with oldest first.
*)}
val pp_main_output :
Ppx_deriving_runtime.Format.formatter ->
main_output ->
Ppx_deriving_runtime.unit
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
val main : (main_params, main_output, unit) Base.query
Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.
type nonrec host = Types.com_atproto_sync_listhosts_host = {
hostname : string;
hostname of server; not a URL (no scheme)
*)seq : int64 option;
Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).
*)accountCount : int64 option;
status : Types.com_atproto_sync_defs_hoststatus option;
}
val host_of_value :
Types.com_atproto_sync_listhosts_host Cephalopod_dasl.Value.Util.conv
val host_to_value :
Types.com_atproto_sync_listhosts_host ->
Cephalopod_dasl.Value.t