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.

Source core/local.go:841

@param ctx
The ctx value.
@param slug
The slug value.
@param source
The source value.
@param target
The target value.
@param options
The options value.
@returns
The declared result.

Related types

  • LocalAPI

    In-process content operations that share the REST authorization and lifecycle pipeline.

  • LocaleCode

    A validated locale identity used by operations, manifests, and storage.

  • MutationOptions

    Authorization, optimistic concurrency, response population, create status, and locale controls for one write.

  • Document

    A stored document with status and version metadata.