comAtprotoSyncGetBlob function

Future<XRPCResponse<Uint8List>> comAtprotoSyncGetBlob({
  1. required String did,
  2. required String cid,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

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

Implementation

Future<XRPCResponse<Uint8List>> comAtprotoSyncGetBlob({
  required String did,
  required String cid,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoSyncGetBlob,
  headers: $headers,
  parameters: {...?$unknown, 'did': did, 'cid': cid},
);