Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/030857e2-8ea2-4767-b75c-ee5d9b32aa29

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0OSIsImVtYWlsIjoiZW1haWwtMzE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDh9.3aQkNyU3JeWM-Bv55GiIh861PcuW2WHk5azzq4e8hVY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/030857e2-8ea2-4767-b75c-ee5d9b32aa29" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0OSIsImVtYWlsIjoiZW1haWwtMzE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDh9.3aQkNyU3JeWM-Bv55GiIh861PcuW2WHk5azzq4e8hVY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "030857e2-8ea2-4767-b75c-ee5d9b32aa29",
    "url": "/v2/buildpacks/030857e2-8ea2-4767-b75c-ee5d9b32aa29",
    "created_at": "2016-02-19T02:04:08Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-2609"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 336
X-Content-Type-Options: nosniff