Put Record Request
data class PutRecordRequest(val repo: AtIdentifier, val collection: Nsid, val rkey: String, val validate: Boolean? = true, val record: JsonContent, val swapRecord: Cid? = null, val swapCommit: Cid? = null)
Constructors
Link copied to clipboard
constructor(repo: AtIdentifier, collection: Nsid, rkey: String, validate: Boolean? = true, record: JsonContent, swapRecord: Cid? = null, swapCommit: Cid? = null)
Properties
Link copied to clipboard
The NSID of the record collection.
Link copied to clipboard
The record to write.
Link copied to clipboard
The handle or DID of the repo (aka, current account).
Link copied to clipboard
Compare and swap with the previous commit by CID.
Link copied to clipboard
Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation