Home

Have Blitline upload to a bucket in a different region than the U.S.


If you have an S3 bucket thats not located in the U.S., you can replace the single text
item in bucket, with a hash of "location" and "name", where "location" is the name
of the region your bucket is located, and "name" is the name of your bucket.
 
For Example:
"json" : '{
  "application_id": "YOUR_APP_ID",
  "src" : "http://www.google.com/logos/2011/houdini11-hp.jpg",
  "postback_url" : "YOUR_WEBSITE_URL",
  "functions" : [{
      "name": "blur",
      "save" : {
          "image_identifier" : "YOUR_IMAGE_IDENTIFIER",
          "s3_destination" : {
              "bucket" : {
                  "name" : "YOUR_BUCKET_NAME",
                  "location" : "YOUR_LOCATION"
              },
              "key" : "key value to save image as"
          }
      }
    }]
  }'


LOCATION example values:


  • "ap-northeast-1"
  • "ap-northeast-2"
  • "eu-west-1"
  • "sa-east-1"
  • "us-west-1"