download_archive
Download an album or selected photos as a single zip of original files to a local path. Use get_download_info first when size matters; files are streamed to disk and existing files are never overwritten.
Instructions
Download an album or a selection as one zip of the original files, written to a local path. Use get_download_info first when the size matters. The file is streamed to disk (safe for big albums) and an existing file is never overwritten. Side effect: writes a file on the machine running the server.
Args:
output_path: Where to write the zip (an existing file is refused).
album_id: Download the whole album.
asset_ids: Or download just these assets.
Returns: JSON with path, bytes written and how many assets went in, or an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album_id | No | ||
| asset_ids | No | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |