Module Cephalopod_models.Com_Atproto_Repo_GetRecord

lexicon "com.atproto.repo.getRecord"

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 collection. format: "Nsid"

    *)
  3. rkey : string;
    (*

    The Record Key. format: "RecordKey"

    *)
  4. cid : string option;
    (*

    The CID of the version of the record. If not specified, then return the most recent version. format: "Cid"

    *)
}
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 = {
  1. uri : string;
    (*

    format: "AtUri"

    *)
  2. cid : string option;
    (*

    format: "Cid"

    *)
  3. value : Cephalopod_dasl.Value.t;
}
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. | `RecordNotFound
]
val show_main_error : main_error -> Ppx_deriving_runtime.string

Get a single record from a repository. Does not require auth.