method
LocalAPI.GlobalWithOptions
func (local *LocalAPI) GlobalWithOptions(
ctx context.Context,
slug string,
options FindOptions,
) (store.Document, error)Read one authorized singleton with projection, population, draft, identity, and locale controls.
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.
DocumentA stored document with status and version metadata.