method
LocalAPI.RestoreGlobalVersionWithOptions
func (local *LocalAPI) RestoreGlobalVersionWithOptions(
ctx context.Context,
slug string,
revision int,
draft bool,
options MutationOptions,
) (store.Document, error)Restore a retained singleton revision with explicit draft, identity, concurrency, and response controls.
Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
MutationOptionsAuthorization, optimistic concurrency, response population, create status, and locale controls for one write.
DocumentA stored document with status and version metadata.