Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/2b72fb39-139e-4c45-ad7f-8eb753425e7c

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2Mzd9.FiwAfsx7dF5WHSsk5ReBSb-LYu4HGJAjCL2OokMawsI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/2b72fb39-139e-4c45-ad7f-8eb753425e7c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2Mzd9.FiwAfsx7dF5WHSsk5ReBSb-LYu4HGJAjCL2OokMawsI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2b72fb39-139e-4c45-ad7f-8eb753425e7c",
    "url": "/v2/buildpacks/2b72fb39-139e-4c45-ad7f-8eb753425e7c",
    "created_at": "2015-05-07T23:37:17Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1469"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 02aa82b4-8385-4872-8018-d489c166522f
Content-Length: 336
X-Content-Type-Options: nosniff