Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/4597000b-6c1f-4264-8624-f2cddd031db9

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NSIsImVtYWlsIjoiZW1haWwtMjI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDZ9.sSq9GtbLXt1Psq_kyotzv618_Oj5mWGS5LEGMmFjdbM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/4597000b-6c1f-4264-8624-f2cddd031db9" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NSIsImVtYWlsIjoiZW1haWwtMjI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDZ9.sSq9GtbLXt1Psq_kyotzv618_Oj5mWGS5LEGMmFjdbM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4597000b-6c1f-4264-8624-f2cddd031db9",
    "url": "/v2/buildpacks/4597000b-6c1f-4264-8624-f2cddd031db9",
    "created_at": "2015-11-03T00:54:06Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1189"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 53a1be8f-26ac-44c3-bfd4-35d738e54d7f
Content-Length: 336
X-Content-Type-Options: nosniff