The file being uploaded.
The filename of the uploaded file.
The parent folder asset where the asset should be placed.
If an asset id is specified then this asset will be updated instead of creating a new asset.
The name of the asset.
Whether to preload the asset. Defaults to true.
The id of the source asset.
The tags of the asset.
The type of the asset we are uploading. See Asset for available asset types.
The asset data. This depends on the asset type. See Asset for asset data depending on the type.