Module Cephalopod_models.Com_Atproto_Repo_ListRecords

lexicon "com.atproto.repo.listRecords"

def main

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

    The handle or DID of the repo. format: "AtIdentifier"

    *)
  2. collection : string;
    (*

    The NSID of the record type. format: "Nsid"

    *)
  3. limit : int64 option;
    (*

    The number of records to return. default: 50 maximum: 100 minimum: 1

    *)
  4. cursor : string option;
  5. reverse : bool option;
    (*

    Flag to reverse the order of the returned records.

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : repo:string -> collection:string -> ?limit:int64 -> ?cursor:string -> ?reverse:bool -> 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. cursor : string option;
  2. records : Types.com_atproto_repo_listrecords_record 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
val main : (main_params, main_output, unit) Base.query

List a range of records in a repository, matching a specific collection. Does not require auth.

def record

type nonrec record = Types.com_atproto_repo_listrecords_record = {
  1. uri : string;
    (*

    format: "AtUri"

    *)
  2. cid : string;
    (*

    format: "Cid"

    *)
  3. value : Cephalopod_dasl.Value.t;
}