comAtprotoSpaceNotifyRepoUpdate function

Future<XRPCResponse<EmptyData>> comAtprotoSpaceNotifyRepoUpdate({
  1. required String space,
  2. required String repo,
  3. required String repoRev,
  4. required Map<String, dynamic> data,
  5. required ServiceContext $ctx,
  6. String? $service,
  7. Map<String, String>? $headers,
  8. Map<String, String>? $unknown,
})

Notify the space host that a space repo has been updated. Sent by repo hosts, with service auth.

Implementation

Future<XRPCResponse<EmptyData>> comAtprotoSpaceNotifyRepoUpdate({
  required String space,
  required String repo,
  required String repoRev,
  required Map<String, dynamic> data,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.comAtprotoSpaceNotifyRepoUpdate,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {
    ...?$unknown,
    'space': space,
    'repo': repo,
    'repoRev': repoRev,
    'data': data,
  },
);