comAtprotoSpaceGetRepo function

Future<XRPCResponse<Uint8List>> comAtprotoSpaceGetRepo({
  1. required String space,
  2. required String repo,
  3. required ServiceContext $ctx,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Download a space repo as a STAR file. Responses are authenticated with a MAC. Requires auth as the repo's account or with a space credential; implemented by PDS.

Implementation

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