method

App.OpenUploadWithOptions

func (application *App) OpenUploadWithOptions( ctx context.Context, collection, key string, options FindOptions, ) (io.ReadCloser, storage.Object, error)

Authorize a document-backed object read.

Source core/uploads.go:361

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

Private delivery remains mediated by Ridu unless an explicit storage.URLSigner flow is used. Close the returned reader.

Related types

  • App

    A resolved application bound to operation services.

  • FindOptions

    Projection, population, authorization, draft, trash, and locale controls for one read.

  • Object

    Object identity and authoritative content metadata.