comAtprotoSpaceGetBlob function

Future<XRPCResponse<Uint8List>> comAtprotoSpaceGetBlob({
  1. required String space,
  2. required String repo,
  3. required String cid,
  4. required ServiceContext $ctx,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. 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>> comAtprotoSpaceGetBlob({
  required String space,
  required String repo,
  required String cid,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoSpaceGetBlob,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, 'space': space, 'repo': repo, 'cid': cid},
);