Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/7793ad26-f726-486b-86e8-8aec9401d2f3

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NCIsImVtYWlsIjoiZW1haWwtMTgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTJ9.IjqGHsegiok4qaSnqOErTQ-m8Jmn5K2MV_4fJ3mc8Lg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/7793ad26-f726-486b-86e8-8aec9401d2f3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NCIsImVtYWlsIjoiZW1haWwtMTgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTJ9.IjqGHsegiok4qaSnqOErTQ-m8Jmn5K2MV_4fJ3mc8Lg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "7793ad26-f726-486b-86e8-8aec9401d2f3",
    "url": "/v2/buildpacks/7793ad26-f726-486b-86e8-8aec9401d2f3",
    "created_at": "2015-06-04T00:05:12Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1680"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 60f2c64d-0a10-46b7-b5c7-c741add18062
Content-Length: 336
X-Content-Type-Options: nosniff