Home
Version 3
Apps API

Apps API

Downloads the staged droplet for an App

GET /v2/apps/:guid/droplet/download

When using a remote blobstore, such as AWS, the response is a redirect to the actual location of the droplet.

Request

Route

GET /v2/apps/32016a3f-afd2-462e-92e0-0ac4997880c8/droplet/download

Parameters

Name Description Valid Values Example Values
guid The guid of the App

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNCIsImVtYWlsIjoiZW1haWwtMjIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTR9.slwiNJw3YJ4BTMVfabth-gH1aFsPLjNFgZ6xRvSEpv8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/32016a3f-afd2-462e-92e0-0ac4997880c8/droplet/download" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNCIsImVtYWlsIjoiZW1haWwtMjIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTR9.slwiNJw3YJ4BTMVfabth-gH1aFsPLjNFgZ6xRvSEpv8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

302 Found

Headers

Content-Type: application/json;charset=utf-8
Location: https://cc-droplets.s3.amazonaws.com/32/01/32016a3f-afd2-462e-92e0-0ac4997880c8/679de4171f04676c0270fd6daf8c67b77dc0c175?X-Amz-Expires=3600&X-Amz-Date=20150706T232314Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=fake_aws_key_id/20150706/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=81a2c46d0873a598fabd2ff6079fc5eef615519ad6b0d4aa56bfc5d34bd987f2
X-VCAP-Request-ID: f28eb3bd-946c-4a00-ab45-43e411768f2e
Content-Length: 0
X-Content-Type-Options: nosniff