Module Cephalopod_models.App_Bsky_Graph_GetRelationships

lexicon "app.bsky.graph.getRelationships"

def main

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

    Primary account requesting relationships for. format: "AtIdentifier"

    *)
  2. others : string list option;
    (*

    List of 'other' accounts to be related back to the primary. maximum length: 30

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : actor:string -> ?others:string list -> 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 = {
  1. actor : string option;
    (*

    format: "Did"

    *)
  2. relationships : [ `App_bsky_graph_defs_relationship of Types.app_bsky_graph_defs_relationship | `App_bsky_graph_defs_notfoundactor of Types.app_bsky_graph_defs_notfoundactor | `Other of Cephalopod_dasl.Value.t ] list;
}
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. | `ActorNotFound
]
val show_main_error : main_error -> Ppx_deriving_runtime.string

Enumerates public relationships between one account, and a list of other accounts. Does not require auth.