jaroslavhejlek/zip-key-value-store

Takes ID of key value store as parameter "keyValueStoreId" and archives all keys in the key-value store into a zip file which is then saved into key-value store of the act. If there is more then 1000 keys in the store, multiple zip files will be created. You can control how many files are in each zip file by setting parameter "filesPerZipFile" parameter in input, but 1000 is upper limit. If the files in key value store are large, this act may crash if their total size is bigger then act's available memory, you can overcome this issue by creating more smaller zip files.

Modified
Last run
Used 33 times

To run the actor, you'll need a free Apify account. Simply open the actor console by clicking the button below, modify the actor input configuration, click Run and get your results.

API

To run the actor from your code, send a HTTP POST request to the following API endpoint:

https://api.apify.com/v2/acts/jaroslavhejlek~zip-key-value-store/runs?token=<YOUR_API_TOKEN>

The POST payload including its Content-Type header is passed as INPUT to the actor (usually application/json). The actor is started with the default options; you can override them using various URL query parameters.

Example
curl https://api.apify.com/v2/acts/jaroslavhejlek~zip-key-value-store/runs?token=<YOUR_API_TOKEN> \
-d '{ "keyValueStoreId": "xeFdZSPGP5fi8S8Q2", "filesPerZipFile": 1000 }' \
-H 'Content-Type: application/json' \
-X POST

To use the API, you'll need to replace <YOUR_API_TOKEN> with the API token of your Apify account (view here).

For more information, view the list of actor API endpoints or the full API reference.

Scheduler

Do you need to run the actor periodically? You can easily create a schedule that will run the actor any time you want.