Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/f7a14c0d-9bf2-4500-bbb7-4b4f35212fdf

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzMxMDk3MH0.TxxeOMgbSfidBKJN98nB4O-4NT0XmceiAFhD8JhBoGI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/f7a14c0d-9bf2-4500-bbb7-4b4f35212fdf" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzMxMDk3MH0.TxxeOMgbSfidBKJN98nB4O-4NT0XmceiAFhD8JhBoGI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "f7a14c0d-9bf2-4500-bbb7-4b4f35212fdf",
    "url": "/v2/buildpacks/f7a14c0d-9bf2-4500-bbb7-4b4f35212fdf",
    "created_at": "2016-01-13T17:29:30Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-10"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 334
X-Content-Type-Options: nosniff