comAtprotoSpaceNotifySpaceUpdate function
Notify a syncing service of an update to a space. Sent by the space host to the notification endpoint registered through authorizeSpaceSync.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoSpaceNotifySpaceUpdate({
required String space,
required String token,
required USpaceNotifySpaceUpdateUpdate update,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.comAtprotoSpaceNotifySpaceUpdate,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'space': space,
'token': token,
'update': update.toJson(),
},
);