Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/9f0f54b9-e82e-4319-8971-2e25a32fd5c0

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NCIsImVtYWlsIjoiZW1haWwtMTMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTJ9.9MyiMh-mQ-sG-W165VNnPm4IU1RQxvoSBjjWadi7GMM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/9f0f54b9-e82e-4319-8971-2e25a32fd5c0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NCIsImVtYWlsIjoiZW1haWwtMTMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTJ9.9MyiMh-mQ-sG-W165VNnPm4IU1RQxvoSBjjWadi7GMM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "9f0f54b9-e82e-4319-8971-2e25a32fd5c0",
    "url": "/v2/buildpacks/9f0f54b9-e82e-4319-8971-2e25a32fd5c0",
    "created_at": "2015-06-16T23:40:52Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-605"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c9fd8853-9732-4800-a989-a9f9d44dc032
Content-Length: 335
X-Content-Type-Options: nosniff