method
LocalAPI.PublishGlobalChanges
func (local *LocalAPI) PublishGlobalChanges(
ctx context.Context,
slug string,
values store.Values,
expectedRevision int,
actor *store.Document,
localeOptions ...LocaleOptions,
) (store.Document, error)Atomically apply singleton field changes and publish through the global publish lifecycle.
Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
ValuesA map of field names to typed values.
DocumentA stored document with status and version metadata.
LocaleOptionsLocale selection for one single-document Local API operation.