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/ecd1f04d-67f7-4875-9a02-6dff49b6a66f/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.eyJ1c2VyX2lkIjoidWFhLWlkLTU0IiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ3fQ.npmw90hcpzydvzo3wSBbagvy3LvzXsE0ViX9xVYAzC4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/ecd1f04d-67f7-4875-9a02-6dff49b6a66f/download" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU0IiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ3fQ.npmw90hcpzydvzo3wSBbagvy3LvzXsE0ViX9xVYAzC4" \
	-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/ec/d1/ecd1f04d-67f7-4875-9a02-6dff49b6a66f?X-Amz-Expires=3600&X-Amz-Date=20150616T234047Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=fake_aws_key_id/20150616/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5076839dfe0bab3d573bbec338306591b5b396529927a52109037c966d4f7492
X-VCAP-Request-ID: fbe0f898-d3a5-4ac3-821e-b405cbdae617
Content-Length: 0
X-Content-Type-Options: nosniff