Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/4b990fa4-ec7a-438a-8bd5-9f42a38cb85d

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyOSIsImVtYWlsIjoiZW1haWwtMjk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjF9.MBWUGH_5QNwCeuC26pmINIlolwkcWl2PpjHF7-pBGNM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/4b990fa4-ec7a-438a-8bd5-9f42a38cb85d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyOSIsImVtYWlsIjoiZW1haWwtMjk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjF9.MBWUGH_5QNwCeuC26pmINIlolwkcWl2PpjHF7-pBGNM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4b990fa4-ec7a-438a-8bd5-9f42a38cb85d",
    "url": "/v2/buildpacks/4b990fa4-ec7a-438a-8bd5-9f42a38cb85d",
    "created_at": "2015-09-30T23:31:01Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-2309"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 95d9c3ff-2f93-419b-9293-adb900c2484d
Content-Length: 336
X-Content-Type-Options: nosniff