Generates a URL for downloading a compressed file containing a specific folder in the Media Manager.
The compressed file can contain sub-folders, and up to 1000 files.
You can only call this method when authenticated as a Wix app or Wix user identity.
function generateFolderDownloadUrl(
folderId: string,
): Promise<GenerateFolderDownloadUrlResponse>;
Folder ID.
import { folders } from "@wix/media";
async function generateFolderDownloadUrl(folderId) {
const response = await folders.generateFolderDownloadUrl(folderId);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.