OptionaldataThe asset data. This depends on the asset type. See Asset for asset data depending on the type.
OptionalfileThe file being uploaded.
OptionalfilenameThe filename of the uploaded file.
OptionalfolderThe parent folder asset where the asset should be placed.
OptionalfolderThe id of the parent folder asset.
OptionalidIf an asset id is specified then this asset will be updated instead of creating a new asset.
OptionalnameThe name of the asset.
OptionalpreloadWhether to preload the asset. Defaults to true.
OptionalsourceThe id of the source asset.
OptionaltagsThe tags of the asset.
OptionaltypeThe type of the asset we are uploading. See Asset for available asset types.
Arguments passed when uploading an asset file.