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.eyJ1c2VyX2lkIjoidWFhLWlkLTkzIiwiZW1haWwiOiJlbWFpbC04NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU3fQ.7Cpi_nUnAiVBwnTsDUQcBYoOVi9QWLQQsLJ6ASJCCdw
Host: example.org
Cookie: 

Route

GET /v2/buildpacks/deee995c-e7b7-4d2a-8539-3b76fc9676f6

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/deee995c-e7b7-4d2a-8539-3b76fc9676f6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkzIiwiZW1haWwiOiJlbWFpbC04NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU3fQ.7Cpi_nUnAiVBwnTsDUQcBYoOVi9QWLQQsLJ6ASJCCdw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6d5546de-35f7-4837-a431-89fe69d19c6c
Content-Length: 340
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "deee995c-e7b7-4d2a-8539-3b76fc9676f6",
    "url": "/v2/buildpacks/deee995c-e7b7-4d2a-8539-3b76fc9676f6",
    "created_at": "2014-11-24T19:32:37+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-480"
  }
}