Getting Started

​ ​Welcome

Blitline Job

Job Response

Job Options

Functions

Polling and Postbacks

Gotchas

Development Recommendations

Service Limits

Examples List

List of Available Functions

Output Options

S3 Destination

IAM Users

S3 Signed Url

Azure Destination

FTP Destination

Other Service Signed Urls

CDN

Advanced

Metadata

Colorspace

Color Extraction

Static IPs

Signed Jobs

Formats

Pipelines

Image Optimization

Smart Image

PDF

Fonts

Subimage

Special (Non-Image) Processing

AWS Rekognition/Facial Recognition

Apache Tika

Vector Processing

Animated GIFs

Screenshots of Websites

IM Scripts

Video Keyframes

Zipping

​ ​Trancoding Video Presets

​ ​Video Transcoding

Zipping

Updated a month ago ​by Blitline Support

ZIPPING

Blitline allows you to zip up files into a zip archive and push it to your S3 destination.

You can accomplish this by having your src be a dictionary that contains a urls node which is an array of URLs that Blitline will download and zip into a single file.

You will also need to set your src_type : “zip”

…and your src_data to contain an s3_destination

{
    "application_id": "YOUR_APP_ID",
    "src": {
        "urls": [
            "https://s3.amazonaws.com/img.blitline/Boston+City+Flow.jpg",
            "https://s3.amazonaws.com/img.blitline/Theridula_emertoni_Kaldari_02.jpg",
            "https://s3.amazonaws.com/img.blitline/demystifying_infographic1.png"
        ]
    },
    "src_type": "zip",
    "postback_url": "http://www.blitline.com/stats",
    "src_data": {
        "s3_destination": {
            "bucket": "bltemp.shortlife",
            "key": "zips/new/awesome.zip"
        }
    }
}

How did we do?