getRecord method

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

Get a single record from a space repo. Responses are authenticated with a MAC. Requires auth as the repo's account or with a space credential; implemented by PDS.

Implementation

Future<XRPCResponse<SpaceGetRecordOutput>> getRecord({
  required String space,
  required String repo,
  required String collection,
  required String rkey,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceGetRecord(
  space: space,
  repo: repo,
  collection: collection,
  rkey: rkey,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);