applyWrites method

Future<XRPCResponse<SpaceApplyWritesOutput>> applyWrites({
  1. required String space,
  2. required String repo,
  3. bool? validate,
  4. required List<USpaceApplyWritesWrites> writes,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Apply a batch transaction of creates, updates, and deletes to a space repo. Requires auth, implemented by PDS.

Implementation

Future<XRPCResponse<SpaceApplyWritesOutput>> applyWrites({
  required String space,
  required String repo,
  bool? validate,
  required List<USpaceApplyWritesWrites> writes,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceApplyWrites(
  space: space,
  repo: repo,
  validate: validate,
  writes: writes,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);