Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/388d99b9-066b-48e3-9276-ede9f832ac84

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MyIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTZ9.Y9eMICCnZegRLH769pX-AxuRSsW7-53ZrgxCkOCBJzM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/388d99b9-066b-48e3-9276-ede9f832ac84" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MyIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTZ9.Y9eMICCnZegRLH769pX-AxuRSsW7-53ZrgxCkOCBJzM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "388d99b9-066b-48e3-9276-ede9f832ac84",
    "url": "/v2/buildpacks/388d99b9-066b-48e3-9276-ede9f832ac84",
    "created_at": "2015-08-31T21:50:16Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-2250"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 27e765a7-b617-4a2b-b15a-42bc2cf0f462
Content-Length: 336
X-Content-Type-Options: nosniff