getBlob method

Future<XRPCResponse<Uint8List>> getBlob({
  1. required String space,
  2. required String repo,
  3. required String cid,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Get a blob referenced by a record in a space repo. Returns the full blob as originally uploaded. Requires auth as the repo's account or with a space credential; implemented by PDS.

Implementation

Future<XRPCResponse<Uint8List>> getBlob({
  required String space,
  required String repo,
  required String cid,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceGetBlob(
  space: space,
  repo: repo,
  cid: cid,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);