interface

UpdateUploadInput

One atomic update to an upload's metadata, file, and image transformation.

Properties

PropertyTypeDescription
dataPartial<Data>Document fields saved with the upload.
fileBlobReplacement bytes; omission retains the existing file.
filenamestringOptional replacement filename.
imageUploadImageEditFocal-point or crop changes applied to configured image sizes.
publishbooleanPublishes the resulting version when the collection supports drafts.

Full signature