archive/zip

Pack multiple files into a single zip archive.

Dynamic (cost in response)
charged on success

What it does

Bundles a set of files into one zip and returns a download URL.

Primary use cases

  • Packaging multiple generated artifacts into one download for the user.
  • Bundling assets before handing them off.

Good to know

Member names default to each URL's basename; pass filenames to set them explicitly. Up to 100 inputs.

Parameters

filenamesarrayoptional

Optional per-file names, parallel to input_urls. Defaults to the URL basename.

expires_inintegeroptionaldefault: 3600

Download URL TTL in seconds.

input_urlsarrayrequired

Pre-signed GET URLs of the files to pack.

output_filenamestringoptional

Filename for the zip. Defaults to archive.zip.

archive/zip — Faro