Cephalopod_models.Com_Atproto_Repo_GetRecord
lexicon "com.atproto.repo.getRecord"
type main_params = {
repo : string;
The handle or DID of the repo. format: "AtIdentifier"
*)collection : string;
The NSID of the record collection. format: "Nsid"
*)rkey : string;
The Record Key. format: "RecordKey"
*)cid : string option;
The CID of the version of the record. If not specified, then return the most recent version. format: "Cid"
*)}
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 ->
rkey:string ->
?cid: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 = {
uri : string;
format: "AtUri"
*)cid : string option;
format: "Cid"
*)value : Cephalopod_dasl.Value.t;
}
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 pp_main_error :
Ppx_deriving_runtime.Format.formatter ->
main_error ->
Ppx_deriving_runtime.unit
val show_main_error : main_error -> Ppx_deriving_runtime.string
val main : (main_params, main_output, main_error) Base.query
Get a single record from a repository. Does not require auth.