...
The media download functionality allows users to download a selection of assets from a portal as a ZIP file. The process involves creating a download request and then retrieving the file through a download link.
Registering the download request
To initiate a media download, a download request must be registered. This is done by requesting the service api/packaged/portals/zip/register/{portalUUID}
, which creates an instance of the portaldownload
object. This object contains all the necessary information to prepare the ZIP file.
...
Expand | ||
---|---|---|
| ||
Find below the input to generate this image with plantUml
|
...
Downloading the media
The
download
service lets users retrieve the ZIP file from aportaldownload
instance.The download link uses the UUID of the
portaldownload
instance created during theregister
step.API Example:
GET api/packaged/portals/zip/download/{portalDownloadUUID}
Optional parameter :
filename: Custom name for the ZIP file
...