Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/6de5942d-b662-49dc-8bc3-04bae98571fd

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNCIsImVtYWlsIjoiZW1haWwtMTY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTZ9.dtewIr7EiA4AA1teVep4GmoqujHKwZd3tPNLRe_P050
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/6de5942d-b662-49dc-8bc3-04bae98571fd" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNCIsImVtYWlsIjoiZW1haWwtMTY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTZ9.dtewIr7EiA4AA1teVep4GmoqujHKwZd3tPNLRe_P050" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "6de5942d-b662-49dc-8bc3-04bae98571fd",
    "url": "/v2/buildpacks/6de5942d-b662-49dc-8bc3-04bae98571fd",
    "created_at": "2015-03-20T18:27:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1371"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: fdca2017-13db-450e-a965-e13311607d78
Content-Length: 336
X-Content-Type-Options: nosniff