importRepo method

Future<XRPCResponse<EmptyData>> importRepo({
  1. required Uint8List bytes,
  2. String? $service,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $parameters,
})

Import the authenticated account's space repo from a STAR file, for account migration. If the account is the space's authority, the space must first be imported with importSpaceMeta. Requires auth, implemented by PDS.

Implementation

Future<XRPCResponse<EmptyData>> importRepo({
  required Uint8List bytes,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $parameters,
}) async => await comAtprotoSpaceImportRepo(
  bytes: bytes,
  $parameters: $parameters,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
);