Cephalopod_models.Com_Atproto_Repo_ListRecords
lexicon "com.atproto.repo.listRecords"
type main_params = {
repo : string;
The handle or DID of the repo. format: "AtIdentifier"
*)collection : string;
The NSID of the record type. format: "Nsid"
*)limit : int64 option;
The number of records to return. default: 50 maximum: 100 minimum: 1
*)cursor : string option;
reverse : bool option;
Flag to reverse the order of the returned records.
*)}
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 :
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 = {
cursor : string option;
records : Types.com_atproto_repo_listrecords_record list;
}
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
List a range of records in a repository, matching a specific collection. Does not require auth.
type nonrec record = Types.com_atproto_repo_listrecords_record = {
uri : string;
format: "AtUri"
*)cid : string;
format: "Cid"
*)value : Cephalopod_dasl.Value.t;
}
val record_of_value :
Types.com_atproto_repo_listrecords_record Cephalopod_dasl.Value.Util.conv
val record_to_value :
Types.com_atproto_repo_listrecords_record ->
Cephalopod_dasl.Value.t