Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/ce473c51-ccc8-46e9-a96d-babc7ae6f236

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExIiwiZW1haWwiOiJlbWFpbC0xMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTkxfQ.nmumLbNS1sthZ5rcx4-ynRB9BBMkTinmy1biqVLya1M
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/ce473c51-ccc8-46e9-a96d-babc7ae6f236" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExIiwiZW1haWwiOiJlbWFpbC0xMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTkxfQ.nmumLbNS1sthZ5rcx4-ynRB9BBMkTinmy1biqVLya1M" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ce473c51-ccc8-46e9-a96d-babc7ae6f236",
    "url": "/v2/buildpacks/ce473c51-ccc8-46e9-a96d-babc7ae6f236",
    "created_at": "2015-08-06T00:36:31Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-28"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: fd372406-1dc0-4291-b8b6-ce0082511031
Content-Length: 334
X-Content-Type-Options: nosniff