Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/2478e94c-2373-4eec-9c11-83dcd15a65df

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NTN9.S-vVgA_gFPdVBel66X-_iW50LVKgQyAZaKeNg_ljy94
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/2478e94c-2373-4eec-9c11-83dcd15a65df" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NTN9.S-vVgA_gFPdVBel66X-_iW50LVKgQyAZaKeNg_ljy94" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2478e94c-2373-4eec-9c11-83dcd15a65df",
    "url": "/v2/buildpacks/2478e94c-2373-4eec-9c11-83dcd15a65df",
    "created_at": "2016-04-06T00:17:33Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1048"
  }
}

Headers

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