method
LocalAPI.GlobalVersion
Public method LocalAPI.GlobalVersion from github.com/riducms/ridu/core.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
slug | string | The slug value. |
revision | int | The revision value. |
options | FindOptions | The options value. |
Returns
The declared result.
(store.Version, error)Full signature
func (local *LocalAPI) GlobalVersion(
ctx context.Context,
slug string,
revision int,
options FindOptions,
) (store.Version, error)Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
FindOptionsProjection, population, authorization, draft, trash, and locale controls for one read.
VersionOne retained version snapshot for a document.