Use CloudZip HTTP API to uncompress and expand archives from Amazon S3 into your S3 bucket and
automatically create all folders and files as needed during the extraction.
You can call the HTTP API using HttpClient SDKs, or curl from a script or command line.
Updating your account token, keys, and balance
in the Settings page is required to run the service using the API.
When you Sign In and click Settings, you'll be taken to a page where you should enter the
following required information in the fields to use the HTTP API. :
After you have entered the above information, you should successfully call the HTTP API to run CloudZip archive extraction services. Next follow the Usage Examples.
Use the HTTP API to programmatically and asynchronously expand archive files in Amazon S3.
Only successfully verified and submitted HTTP API requests are charged the full service amount.
You can run the API using HttpClient SDKs, or curl from a script or command line.
HTTP Method and URL: POST https://www.cloudzipinc.com/api/s3archiveextract
Required HTTP Header:
export AUTH_TOKEN=124567890abcdefghijklmopqrstuvwxyz export AUTH_USER=test curl -X POST -H "X-AUTH-TOKEN:$AUTH_TOKEN" -H "X-AUTH-USER:$AUTH_USER"-H "Accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d "destination=/mybucket/folder&source=/mybucket/uploads/new.zip" "https://www.cloudzipinc.com/api/s3archiveextract" Response: HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-cache Content-Length: 110 {"status":"success","message":"submitted extraction of /mybucket/uploads/new.zip to /mybucket/folder"}Windows, curl app (https://curl.haxx.se/dlwiz/)
c:\curl-7.61.0-win32-mingw\bin> set AUTH_TOKEN=124567890abcdefghijklmopqrstuvwxyz set AUTH_USER=test curl -X POST -H "X-AUTH-TOKEN:%AUTH_TOKEN%" -H "X-AUTH-USER:%AUTH_USER%" -H "Accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d "destination=/mybucket/folder&source=/mybucket/uploads/new.zip" "https://www.cloudzipinc.com/api/s3archiveextract" Response: HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-cache Content-Length: 110 {"status":"success","message":"submitted extraction of /mybucket/uploads/new.zip to /mybucket/folder"}If your parameters are incorrect, an error response similar to this example below will be displayed:
HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-cache Content-Length: 175 {"status":"error","message":"required parameter incorrect or missing", "error":"Your X-AUTH-USER was incorrect, it is the username to sign in to your cloudzipinc.com account"}
To see more details and start a service, click the Register link above, or Sign In if you have already registered.