Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/b77cdc78-40ad-4af0-a5a4-af555e165545

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NCIsImVtYWlsIjoiZW1haWwtMTc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzl9.9MuajjVwAG8I1obaf1Xa5qACITO_pVs9TKESov4mxP4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/b77cdc78-40ad-4af0-a5a4-af555e165545" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NCIsImVtYWlsIjoiZW1haWwtMTc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzl9.9MuajjVwAG8I1obaf1Xa5qACITO_pVs9TKESov4mxP4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b77cdc78-40ad-4af0-a5a4-af555e165545",
    "url": "/v2/buildpacks/b77cdc78-40ad-4af0-a5a4-af555e165545",
    "created_at": "2015-09-11T18:38:59Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-799"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 13e884f6-c02f-47d0-94ea-2b3ae3dcb872
Content-Length: 335
X-Content-Type-Options: nosniff