Uploads a file asset to the configured dataset
Asset type (file)
Asset content - can be a browser File instance, a Blob, a Node.js Buffer instance or a Node.js ReadableStream.
Optional
options: UploadClientConfigOptions to use for the upload
Uploads an image asset to the configured dataset
Asset type (image)
Asset content - can be a browser File instance, a Blob, a Node.js Buffer instance or a Node.js ReadableStream.
Optional
options: UploadClientConfigOptions to use for the upload
Uploads a file or an image asset to the configured dataset
Asset type (file/image)
Asset content - can be a browser File instance, a Blob, a Node.js Buffer instance or a Node.js ReadableStream.
Optional
options: UploadClientConfigOptions to use for the upload
Observable version of the AssetsClient. All methods return RxJS Observables instead of Promises.
Example