method
LocalAPI.Version
func (local *LocalAPI) Version(
ctx context.Context,
collection,
id string,
revision int,
actor *store.Document,
localeOptions ...LocaleOptions,
) (store.Version, error)Return one authorized retained revision.
Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
DocumentA stored document with status and version metadata.
LocaleOptionsLocale selection for one single-document Local API operation.
VersionOne retained version snapshot for a document.