Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/4cfce0c3-4187-4a6b-8f88-a9359cd1d366

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTF9.HCCDZ-SZMHIbq8AcdNvKggCLHGPNrgvHnj2enbf5Wtg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/4cfce0c3-4187-4a6b-8f88-a9359cd1d366" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTF9.HCCDZ-SZMHIbq8AcdNvKggCLHGPNrgvHnj2enbf5Wtg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4cfce0c3-4187-4a6b-8f88-a9359cd1d366",
    "url": "/v2/buildpacks/4cfce0c3-4187-4a6b-8f88-a9359cd1d366",
    "created_at": "2016-06-08T16:41:31Z",
    "updated_at": "2016-06-08T16:41:26Z"
  },
  "entity": {
    "name": "name_1",
    "stack": "cflinuxfs4",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1634"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4fe9fa89-d3bb-4323-822b-9815d0392c3e
Content-Length: 336
X-Content-Type-Options: nosniff