comAtprotoSyncGetRecord function

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

Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.

Implementation

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