When using a remote blobstore, such as AWS, the response is a redirect to the actual location of the bits.
GET /v2/apps/2cdd87da-904d-4ff8-94ed-f8be8288782c/download
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the App |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NiIsImVtYWlsIjoiZW1haWwtMjg2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTR9.p1nT-174gf2oGRkR75HUCU9vfbIGWJpuE19km0gpDQc Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/apps/2cdd87da-904d-4ff8-94ed-f8be8288782c/download" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NiIsImVtYWlsIjoiZW1haWwtMjg2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTR9.p1nT-174gf2oGRkR75HUCU9vfbIGWJpuE19km0gpDQc" \ -H "Host: example.org" \ -H "Cookie: "
302 Found
Content-Type: application/json;charset=utf-8 Location: https://cc-packages.s3.amazonaws.com/2c/dd/2cdd87da-904d-4ff8-94ed-f8be8288782c?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=040cba138c6f8d505884025d05a6663fd8c0ec14a32618cf1087032a01da434d X-VCAP-Request-ID: 442bcd9f-e572-402b-a17b-83d827bbf551 Content-Length: 0 X-Content-Type-Options: nosniff