ApplyWritesRequest

data class ApplyWritesRequest(val repo: AtIdentifier, val validate: Boolean? = true, val writes: ReadOnlyList<ApplyWritesRequestWriteUnion>, val swapCommit: Cid? = null)

Constructors

Link copied to clipboard
constructor(repo: AtIdentifier, validate: Boolean? = true, writes: ReadOnlyList<ApplyWritesRequestWriteUnion>, swapCommit: Cid? = null)

Properties

Link copied to clipboard

The handle or DID of the repo (aka, current account).

Link copied to clipboard
val swapCommit: Cid? = null

If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.

Link copied to clipboard
val validate: Boolean? = true

Can be set to 'false' to skip Lexicon schema validation of record data, for all operations.

Link copied to clipboard