getRecord method

Future<XRPCResponse<RepoGetRecordOutput>> getRecord({
  1. required String repo,
  2. required String collection,
  3. required String rkey,
  4. String? cid,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Get a single record from a repository. Does not require auth.

Implementation

Future<XRPCResponse<RepoGetRecordOutput>> getRecord({
  required String repo,
  required String collection,
  required String rkey,
  String? cid,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoRepoGetRecord(
  repo: repo,
  collection: collection,
  rkey: rkey,
  cid: cid,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);