method

App.UpdateUploadForIdentity

Save an upload for one exact authenticated identity.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionstringThe collection value.
idstringThe id value.
inputUpdateUploadInputThe input value.
identity*AuthIdentityThe identity value.

Returns

The declared result.

(store.Document, error)

Full signature

func (application *App) UpdateUploadForIdentity( ctx context.Context, collection, id string, input UpdateUploadInput, identity *AuthIdentity, ) (store.Document, error)

Source core/uploads.go:345

Related types

  • App

    A resolved application bound to operation services.

  • UpdateUploadInput

    Atomic upload replacement, image edit, document data, and publishing input.

  • AuthIdentity

    An exact authenticated collection and actor document.

  • Document

    A stored document with status and version metadata.