Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/6e0b29b9-0b43-49b3-b84e-f7eaf67d4061

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMSIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDV9.vqtoYhnG3rQERjsajup3nAzu18oDEVvDlVSCLNG6NdI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/6e0b29b9-0b43-49b3-b84e-f7eaf67d4061" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMSIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDV9.vqtoYhnG3rQERjsajup3nAzu18oDEVvDlVSCLNG6NdI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "6e0b29b9-0b43-49b3-b84e-f7eaf67d4061",
    "url": "/v2/buildpacks/6e0b29b9-0b43-49b3-b84e-f7eaf67d4061",
    "created_at": "2015-10-13T17:31:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-517"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7ff2a202-989a-4820-aa00-c65f7ca2dd4f
Content-Length: 335
X-Content-Type-Options: nosniff