Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/de6ce2bb-9097-443d-8935-282f95e5224d

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNSIsImVtYWlsIjoiZW1haWwtMjI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTV9.ojgcWsi63TiPrN6fz8g-25ZUicSG3vTLRIkLwdVLq94
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/de6ce2bb-9097-443d-8935-282f95e5224d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNSIsImVtYWlsIjoiZW1haWwtMjI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTV9.ojgcWsi63TiPrN6fz8g-25ZUicSG3vTLRIkLwdVLq94" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "de6ce2bb-9097-443d-8935-282f95e5224d",
    "url": "/v2/buildpacks/de6ce2bb-9097-443d-8935-282f95e5224d",
    "created_at": "2015-04-07T19:11:55Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1634"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5e81bcb9-22d7-442c-8027-172fb18c82d8
Content-Length: 336
X-Content-Type-Options: nosniff