method
LocalAPI.CopyGlobalLocaleWithOptions
func (local *LocalAPI) CopyGlobalLocaleWithOptions(
ctx context.Context,
slug string,
source,
target schema.LocaleCode,
options MutationOptions,
) (store.Document, error)Copy localized singleton fields with exact identity, concurrency, and response controls.
Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
LocaleCodeA validated locale identity used by operations, manifests, and storage.
MutationOptionsAuthorization, optimistic concurrency, response population, create status, and locale controls for one write.
DocumentA stored document with status and version metadata.