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.