Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/cac99cdf-e793-4a78-bc5d-58c7dc848423

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0zMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2MTg3NzM4fQ.2JOJ0TP08feVp_4ekqMRkQ2DKvtswRQmG4wfNvtIp78
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/cac99cdf-e793-4a78-bc5d-58c7dc848423" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0zMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2MTg3NzM4fQ.2JOJ0TP08feVp_4ekqMRkQ2DKvtswRQmG4wfNvtIp78" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "cac99cdf-e793-4a78-bc5d-58c7dc848423",
    "url": "/v2/buildpacks/cac99cdf-e793-4a78-bc5d-58c7dc848423",
    "created_at": "2015-03-05T19:15:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-171"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 166e2e84-2a57-4ac7-a9c5-41c7d8b40ac5
Content-Length: 335
X-Content-Type-Options: nosniff