Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/3487b831-9475-4f51-966d-6c7b24442767

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3IiwiZW1haWwiOiJlbWFpbC0xN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA0fQ.5yWpEpmVOzJ1yL1Xrzuhikv2csHrl0YR7FfK0xv3NVo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/3487b831-9475-4f51-966d-6c7b24442767" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3IiwiZW1haWwiOiJlbWFpbC0xN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA0fQ.5yWpEpmVOzJ1yL1Xrzuhikv2csHrl0YR7FfK0xv3NVo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "3487b831-9475-4f51-966d-6c7b24442767",
    "url": "/v2/buildpacks/3487b831-9475-4f51-966d-6c7b24442767",
    "created_at": "2015-05-15T16:53:24Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-67"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8b7b1e2b-ac92-45cc-a476-a9507c355dd9
Content-Length: 334
X-Content-Type-Options: nosniff