method
LocalAPI.VersionsWithOptions
func (local *LocalAPI) VersionsWithOptions(
ctx context.Context,
collection,
id string,
options FindOptions,
) ([]store.Version, error)List retained document revisions with exact identity, locale, and response controls.
Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
FindOptionsProjection, population, authorization, draft, trash, and locale controls for one read.
VersionOne retained version snapshot for a document.