applyWrites method

Future<XRPCResponse<RepoApplyWritesOutput>> applyWrites({
  1. required String repo,
  2. bool? validate,
  3. required List<URepoApplyWritesWrites> writes,
  4. String? swapCommit,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

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

Implementation

Future<XRPCResponse<RepoApplyWritesOutput>> applyWrites({
  required String repo,
  bool? validate,
  required List<URepoApplyWritesWrites> writes,
  String? swapCommit,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoRepoApplyWrites(
  repo: repo,
  validate: validate,
  writes: writes,
  swapCommit: swapCommit,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);