Revisions Client API Overview
-
For a general revisions overview see: Revisions Overview.
-
Document revisions can be managed using Studio or from the Client API.
-
Find below a list of methods that revisions can be configured and managed by.
Revisions store
Operations
- ConfigureRevisionsOperation - apply a revision configuration
- GetRevisionsOperation - get revisions
Revisions session
methods
Get revisions:
- Use get_for to retrieve all revisions kept for a document.
- Use get_metadata_for to retrieve metadata for all revisions kept for a document.
- Use get_by_before_date to retrieve revisions by change vector or creation time.
- Read here
about lazy versions of
get_for
,get_metadata_for
, andget_by_before_date
.
Count revisions:
Use get_count_for to get the number of revisions kept for a document.
Force revision creation:
Read here about creating a revision even if revision configuration is disabled.