Magidoc

UpdateAssetMutationInput
Input Object

Input object for updating an existing asset.

Fields

#

clientMutationId

A unique identifier for the client performing the mutation.

completeFileUpload

Marks the S3 file upload as complete.

completePreviewFileUpload

Marks the S3 preview file upload as complete.

completeProcessedFileUpload

Marks the S3 processed file upload as complete.

databaseId

The database ID of the asset to be updated.

folderDatabaseId

The database ID of the folder where the asset is located.

folderId

The ID of the folder where the asset is located.

id

The ID of the asset to be updated.

name

The new name of the asset.

ownerId

The ID of the new owner of the asset. It can either be a user, an organization or null to unset it.

previewFile

File used for preview generation.

previewFileName

Name of the preview file.

processedFile

Processed version of the uploaded asset.

processedFileName

Name of the processed file.

removeRevisionsDatabaseIds

[ String !]

A list of revision database IDs to be removed from the asset.

removeRevisionsIds

[ ID !]

A list of revision IDs to be removed from the asset.

requestPreviewFileUploadUrl

Requests an S3 pre-signed URL for uploading a preview file.

requestProcessedFileUploadUrl

Requests an S3 pre-signed URL for uploading a processed file.

Usages

#

References

#

  • Argument input of field updateAsset from type Mutation