Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/ddca025e-1e4f-4755-bd04-19cb80e88205

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MSIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDl9.62bulVDkLYaZHKdJmER2B0sGRFwHQyi604Mueyt1Kvc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/ddca025e-1e4f-4755-bd04-19cb80e88205" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MSIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDl9.62bulVDkLYaZHKdJmER2B0sGRFwHQyi604Mueyt1Kvc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ddca025e-1e4f-4755-bd04-19cb80e88205",
    "url": "/v2/buildpacks/ddca025e-1e4f-4755-bd04-19cb80e88205",
    "created_at": "2015-03-10T23:11:49Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-685"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d34402e5-30aa-4845-b5e1-863fc97ab41e
Content-Length: 335
X-Content-Type-Options: nosniff