Module Cephalopod_models.Com_Atproto_Sync_GetBlob

lexicon "com.atproto.sync.getBlob"

def main

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

    The DID of the account. format: "Did"

    *)
  2. cid : string;
    (*

    The CID of the blob to fetch format: "Cid"

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : did:string -> cid:string -> 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_error = [
  1. | `BlobNotFound
  2. | `RepoNotFound
  3. | `RepoTakendown
  4. | `RepoSuspended
  5. | `RepoDeactivated
]
val show_main_error : main_error -> Ppx_deriving_runtime.string
val main : (main_params, unit, main_error) Base.query

Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.