comAtprotoSpaceImportSpaceMeta function
Import a space's state from an archive produced by exportSpaceMeta, for account migration. Must be called before importing the authority's space repo with importRepo. Requires auth as the space authority, implemented by PDS.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoSpaceImportSpaceMeta({
required Uint8List bytes,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $parameters,
}) async => await $ctx.post(
ns.comAtprotoSpaceImportSpaceMeta,
service: $service,
headers: {'Content-type': 'application/vnd.dasl.star', ...?$headers},
parameters: $parameters,
body: bytes,
);