method

App.FindCollectionPreview

func (application *App) FindCollectionPreview( ctx context.Context, token, collection, documentID string, ) (store.Document, error)

Read the exact token-scoped draft without a session.

Source core/preview.go:96

@param ctx
The ctx value.
@param token
The token value.
@param collection
The collection value.
@param documentID
The documentID value.
@returns
The declared result.

The token must match resource type, slug, and ID and is revoked/fenced by permanent deletion. Global equivalents are also available.

Related types

  • App

    A resolved application bound to operation services.

  • Document

    A stored document with status and version metadata.