comAtprotoManagedspaceCheckAccess function
Check an account's read and write access to a managed space. Called by the space host, implemented by the space's managing app. Requires service auth.
Implementation
Future<XRPCResponse<ManagedspaceCheckAccessOutput>>
comAtprotoManagedspaceCheckAccess({
required String space,
String? repo,
String? clientId,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoManagedspaceCheckAccess,
service: $service,
headers: $headers,
parameters: {
...?$unknown,
'space': space,
if (repo != null) 'repo': repo,
if (clientId != null) 'clientId': clientId,
},
to: const ManagedspaceCheckAccessOutputConverter().fromJson,
);