putRecord method

Future<XRPCResponse<SpacePutRecordOutput>> putRecord({
  1. required String space,
  2. required String repo,
  3. required String collection,
  4. required String rkey,
  5. bool? validate,
  6. required Map<String, dynamic> record,
  7. String? $service,
  8. Map<String, String>? $headers,
  9. Map<String, String>? $unknown,
})

Write a record in a space repo, creating or updating it as needed. Requires auth, implemented by PDS.

Implementation

Future<XRPCResponse<SpacePutRecordOutput>> putRecord({
  required String space,
  required String repo,
  required String collection,
  required String rkey,
  bool? validate,
  required Map<String, dynamic> record,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpacePutRecord(
  space: space,
  repo: repo,
  collection: collection,
  rkey: rkey,
  validate: validate,
  record: record,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);