method

LocalAPI.GlobalVersions

Public method LocalAPI.GlobalVersions from github.com/riducms/ridu/core.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
slugstringThe slug value.
optionsFindOptionsThe options value.

Returns

The declared result.

([]store.Version, error)

Full signature

func (local *LocalAPI) GlobalVersions( ctx context.Context, slug string, options FindOptions, ) ([]store.Version, error)

Source core/local.go:764

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.