method

LocalAPI.GlobalVersionWithOptions

func (local *LocalAPI) GlobalVersionWithOptions( ctx context.Context, slug string, revision int, options FindOptions, ) (store.Version, error)

Read one retained singleton revision with exact identity and locale controls.

Source core/local.go:859

@param ctx
The ctx value.
@param slug
The slug value.
@param revision
The revision 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.

  • FindOptions

    Projection, population, authorization, draft, trash, and locale controls for one read.

  • Version

    One retained version snapshot for a document.