method

App.OpenUpload

func (application *App) OpenUpload( ctx context.Context, collection, key string, actor *store.Document, ) (io.ReadCloser, storage.Object, error)

Open an object after proving it belongs to an access-visible upload document.

Source core/uploads.go:345

@param ctx
The ctx value.
@param collection
The collection value.
@param key
The key value.
@param actor
The actor value.
@returns
The declared result.

Related types

  • App

    A resolved application bound to operation services.

  • Document

    A stored document with status and version metadata.

  • Object

    Object identity and authoritative content metadata.