Revisions Client API Overview
-
For a general revisions overview see: Revisions Overview.
-
Document revisions can be managed using Studio or from the Client API.
-
From the Client API, revisions can be configured and managed by:
Revisions Store Operations
- ConfigureRevisionsOperation - apply a revision configuration
- ConfigureRevisionsForConflictsOperation - manage conflicting documents revisions
- GetRevisionsOperation - get revisions
Revisions Session methods
-
Get revisions:
- getFor - retrieve all revisions kept for a document.
- getMetadataFor - retrieve metadata for all revisions kept for a document.
- get - retrieve revisions by change vector or creation time.
- Read here about lazy versions of
getFor
,getMetadataFor
, andget
.
-
Include revisions:
- includeRevisions - include revisions when retrieving documents via
session.load
orsession.query
. - rawQuery - Learn how to include revisions when retrieving documents via raw queries.
- includeRevisions - include revisions when retrieving documents via
-
Count revisions:
- getCountFor - get the number of revisions kept for a document.
-
Force revision creation:
- forceRevisionCreationFor - create a revision even if revision configuration is disabled.