Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/8e7b21f8-79d1-4c8d-b0df-d83e79ceac0f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjZ9.3-HNxxzeVizRbHXhcMvZSATBgS7eiIxufhuQ8rojOPc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/8e7b21f8-79d1-4c8d-b0df-d83e79ceac0f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjZ9.3-HNxxzeVizRbHXhcMvZSATBgS7eiIxufhuQ8rojOPc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "8e7b21f8-79d1-4c8d-b0df-d83e79ceac0f",
    "url": "/v2/buildpacks/8e7b21f8-79d1-4c8d-b0df-d83e79ceac0f",
    "created_at": "2015-11-13T17:02:46Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1937"
  }
}

Headers

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