api.download()
Usage
api.download(fileId): Promise<Blob>;
Description
Download a file from the server.
Sample Code
TypeScript Example:
// Example usage of api.download()
const result = await api.download();
console.log(result);
Parameters
fileId
string
The unique identifier of the file to download
Returns
Promise<Blob>
Promise resolving to the file blob