Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/c61dd209-0f7b-4179-9dca-6853227997fd

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNSIsImVtYWlsIjoiZW1haWwtMjM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2NDF9.maXckbp1dXoRQZrMmjejoJm_P1hZRpHlvSlBKpsR_bU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/c61dd209-0f7b-4179-9dca-6853227997fd" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNSIsImVtYWlsIjoiZW1haWwtMjM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2NDF9.maXckbp1dXoRQZrMmjejoJm_P1hZRpHlvSlBKpsR_bU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c61dd209-0f7b-4179-9dca-6853227997fd",
    "url": "/v2/buildpacks/c61dd209-0f7b-4179-9dca-6853227997fd",
    "created_at": "2016-04-16T01:24:01Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1091"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 306fbd29-ec0d-42d8-8f59-1ae49dd76d7c
Content-Length: 336
X-Content-Type-Options: nosniff