method

App.UpdateUploadImageForIdentity

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

Regenerate image variants for one exact authenticated identity.

Source core/uploads.go:325

@param ctx
The ctx value.
@param collection
The collection value.
@param id
The id value.
@param input
The input value.
@param identity
The identity value.
@returns
The declared result.

Related types

  • App

    A resolved application bound to operation services.

  • UpdateUploadImageInput

    Focal point and optional crop for regenerating image variants.

  • AuthIdentity

    An exact authenticated collection and actor document.

  • Document

    A stored document with status and version metadata.