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/0aa9b900-8c33-4596-80d8-ac674da6f4cc/download

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU4IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA3fQ.n__077RCn3bFb6dhJZXynjItkwm6vNW5e21rcNsaka4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/0aa9b900-8c33-4596-80d8-ac674da6f4cc/download" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU4IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA3fQ.n__077RCn3bFb6dhJZXynjItkwm6vNW5e21rcNsaka4" \
	-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/0a/a9/0aa9b900-8c33-4596-80d8-ac674da6f4cc?X-Amz-Expires=3600&X-Amz-Date=20150515T165327Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=fake_aws_key_id/20150515/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=8546bda136e1ad2f492cab37fa003976203ba40d2e281ea03f8ec2b4d054897e
X-VCAP-Request-ID: fc7e919d-830d-4e65-9ea2-d3a6a592a74d
Content-Length: 0
X-Content-Type-Options: nosniff