method

LocalAPI.GlobalVersionsWithOptions

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

List retained singleton revisions with exact identity and locale controls.

Source core/local.go:850

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