restoreRevision

fun restoreRevision(document: Document, revisionId: String): Deferred<OperationResult>

Restores the given document to the state captured by the revision with revisionId. The document must be attached to this client.