OptionaltagOptionalpreserveWhether or not to preserve the original filename (default: true)
OptionalfilenameFilename for this file (optional)
OptionaltimeoutMilliseconds to wait before timing the request out
OptionalcontentMime type of the file
OptionalextractArray of metadata parts to extract from asset
OptionallabelOptional freeform label for the asset. Generally not used.
OptionaltitleOptional title for the asset
OptionaldescriptionOptional description for the asset
OptionalcreditThe credit to person(s) and/or organization(s) required by the supplier of the asset to be used when published
OptionalsourceSource data (when the asset is from an external service)
The (u)id of the asset within the source, i.e. 'i-f323r1E'
The name of the source, i.e. 'unsplash'
Optionalurl?: stringA url to where to find the asset, or get more info about it in the source
Optional request tag for the upload