Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/8b69a608-b0f8-4e0c-9574-d323d7d34311

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MDJ9.p33P79iEBhZdkgyEDahp8K31xoFAIvH5gsi713osTSo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/8b69a608-b0f8-4e0c-9574-d323d7d34311" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MDJ9.p33P79iEBhZdkgyEDahp8K31xoFAIvH5gsi713osTSo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "8b69a608-b0f8-4e0c-9574-d323d7d34311",
    "url": "/v2/buildpacks/8b69a608-b0f8-4e0c-9574-d323d7d34311",
    "created_at": "2016-04-22T19:33:22Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-724"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1e8b731e-13a4-4bb3-b7e4-ee44ebe3c9f6
Content-Length: 335
X-Content-Type-Options: nosniff