Home
Version 3
Apps API

Apps API

Downloads the bits for an App

GET /v2/apps/:guid/download

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

Request

Route

GET /v2/apps/97f171be-8d4a-4721-be46-6f36777440cf/download

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMiIsImVtYWlsIjoiZW1haWwtMjE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTN9.RECsp1Fjo-FS9BgM1SLOPz4jM1kRp-rDNUZfOi1P8jc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/97f171be-8d4a-4721-be46-6f36777440cf/download" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMiIsImVtYWlsIjoiZW1haWwtMjE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTN9.RECsp1Fjo-FS9BgM1SLOPz4jM1kRp-rDNUZfOi1P8jc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

302 Found

Headers

Content-Type: application/json;charset=utf-8
Location: https://cc-packages.s3.amazonaws.com/97/f1/97f171be-8d4a-4721-be46-6f36777440cf?X-Amz-Expires=3600&X-Amz-Date=20150706T232313Z&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=7c43d4f46c4a03039ae487e98fb1bf9dd2c64571505630ab21dbfa885a38ac23
X-VCAP-Request-ID: 811a7e2c-c1bc-46c7-8a0f-872856c4b709
Content-Length: 0
X-Content-Type-Options: nosniff