Revisions API Overview
- The Revisions client API includes a set of session methods and store operations that you can use to configure, manage and use document revisions.
-
Learn about revisions here: Docuument Revisions Overview
-
In this page:
Revisions Store Operations
-
Creating a Revisions Configuration
- ConfigureRevisionsOperation
Use this operation to apply a Revisions configuration to your database.
- ConfigureRevisionsOperation
-
Getting and Counting Revisions
- GetRevisionsOperation
Use this operation to Get and Count Revisions.
- GetRevisionsOperation
Revisions Session methods
-
Loading revisions and their metadata
- GetFor
Use this method to retrieve all the revisions that are kept for a specified document. - GetMetadataFor
Use this method to retrieve metadata for all revisions kept for a specified document. - Get
Use this method to retrieve revisions by change vector or creation time.
- GetFor
-
Counting Revisions
- GetCountFor
Use this method to count the revisions kept for a document.
- GetCountFor
-
Including revisions
- IncludeRevisions
Use this method to include document revisions when retrieving documents viaSession.Load
orSession.Query
. - RawQuery
Learn here how to include revisions with documents retrieved via raw queries.
- IncludeRevisions