method
LocalAPI.GlobalVersions
func (local *LocalAPI) GlobalVersions(
ctx context.Context,
slug string,
actor *store.Document,
localeOptions ...LocaleOptions,
) ([]store.Version, error)List access-filtered retained singleton revisions.
GlobalVersion reads one revision. Both have WithOptions forms and apply access to stored snapshots, not merely the current singleton.
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.