Logo Help Center

Elvis 4 REST API - Zip download

Elvis 4 REST API - Zip download

GET/POST

http://yourserver.com/zip/<filename>.zip
    ?downloadKind=<original|preview>
    &assetIds=<comma-separated asset ids>

What does it do?

Download originals or previews as a ZIP file.

This allows to package multiple files into a single .zip file. Depending on the browser this will be downloaded as .zip or folder on the local file system.

Parameters

downloadKind

The type of the files that are included in the archive. Possible values are:

  • dowloadKind=original
  • donwloadKind=preview

Required.

assetIds

Comma-separated list of ids of assets to be included in the archive.

Required.

Example

This call downloads an archive named wildlife.zip containing previews of Elephant Closeup.jpg and Yawning Tiger.jpg.

zip

http://demo.elvisdam.com/zip/wildlife.zip
    ?downloadKind=preview
    &assetIds=EgNUCWzhqBh8DxwRUtkzQ5,FpERTjYia2X81GoYQi7btF
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.