getBlob method

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

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

https://atprotodart.com/docs/lexicons/com/atproto/sync/getBlob

Implementation

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