method
LocalAPI.Global
func (local *LocalAPI) Global(
ctx context.Context,
slug string,
actor *store.Document,
localeOptions ...LocaleOptions,
) (store.Document, error)Read one authorized singleton.
GlobalWithOptions adds projection, population, draft, exact identity, and locale controls.
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.