DeleteRecordRequest

data class DeleteRecordRequest(val repo: AtIdentifier, val collection: Nsid, val rkey: String, val swapRecord: Cid? = null, val swapCommit: Cid? = null)

Parameters

repo

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

collection

The NSID of the record collection.

rkey

The Record Key.

swapRecord

Compare and swap with the previous record by CID.

swapCommit

Compare and swap with the previous commit by CID.

Constructors

Link copied to clipboard
constructor(repo: AtIdentifier, collection: Nsid, rkey: String, swapRecord: Cid? = null, swapCommit: Cid? = null)

Properties

Link copied to clipboard

The NSID of the record collection.

Link copied to clipboard

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

Link copied to clipboard

The Record Key.

Link copied to clipboard
val swapCommit: Cid? = null

Compare and swap with the previous commit by CID.

Link copied to clipboard
val swapRecord: Cid? = null

Compare and swap with the previous record by CID.