Magidoc

CreateAssetMutationInput
Input Object

Input object for creating a new asset.

Fields

#

clientMutationId

A unique identifier for the client performing the mutation.

createdById

The user ID of the asset author. Admins can create assets on behalf of other authors.

file

The file data for the asset being created.

folderDatabaseId

The asset database ID of the folder where the new asset will be stored.

folderId

The asset ID of the folder where the new asset will be stored.

name

The name of the asset to be created.

ownerId

The ID of the new owner of the asset. It can either be a user, an organization.

type

The type of the asset, such as image, video, document, etc.

Usages

#

References

#

  • Argument input of field createAsset from type Mutation