Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Buildpack

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNCIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDMxMDEyNX0.Zn_5DVRNFBYis-_iTOpfqVpUQl_eYGHDT4hpg7AdHAU
Host: example.org
Cookie: 

Route

GET /v2/buildpacks/fe3cc19e-1819-4710-8acc-69fb0ceb65f6

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/fe3cc19e-1819-4710-8acc-69fb0ceb65f6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNCIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDMxMDEyNX0.Zn_5DVRNFBYis-_iTOpfqVpUQl_eYGHDT4hpg7AdHAU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e6514100-7c77-424a-94ea-1f56c438ec77
Content-Length: 335
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "fe3cc19e-1819-4710-8acc-69fb0ceb65f6",
    "url": "/v2/buildpacks/fe3cc19e-1819-4710-8acc-69fb0ceb65f6",
    "created_at": "2015-02-12T01:42:05Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-414"
  }
}