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/e1e1e1af-0e19-4aba-906d-b89992c8b17d/droplet/download

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5OCIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTR9.yV8UHzAoCfIc_Xi8MccZ30Yo9p8G_2VizZoBouVDidY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/e1e1e1af-0e19-4aba-906d-b89992c8b17d/droplet/download" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5OCIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTR9.yV8UHzAoCfIc_Xi8MccZ30Yo9p8G_2VizZoBouVDidY" \
	-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/e1/e1/e1e1e1af-0e19-4aba-906d-b89992c8b17d/679de4171f04676c0270fd6daf8c67b77dc0c175?X-Amz-Expires=3600&X-Amz-Date=20150727T224334Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=fake_aws_key_id/20150727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=f1bbae43b40a14a9e221597f0681adb2f285a1b658fdb0bce5847e2493008d2a
X-VCAP-Request-ID: 94bb98f8-e4b6-47e2-994f-1ca77ca64fc1
Content-Length: 0
X-Content-Type-Options: nosniff