type
VersionRequest
type VersionRequest struct {
Collection schema.Collection
DocumentID string
Access *query.Node
Locales []schema.LocaleCode
LocaleChain []schema.LocaleCode
AllLocales bool
}An access-filtered version-history query.
Collectionschema.Collection- The Collection value.
DocumentIDstring- The DocumentID value.
Access*query.Node- The Access value.
Locales[]schema.LocaleCode- The Locales value.
LocaleChain[]schema.LocaleCode- The LocaleChain value.
AllLocalesbool- The AllLocales value.
Adapters must apply Access to each stored snapshot before returning it.