Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Buildpack

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMiIsImVtYWlsIjoiZW1haWwtMjE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDJ9.jbpy8Eh1oUzmMatYLLOvM64UfDaY8LttAeNr7wWNQmA
Host: example.org
Cookie: 

Route

GET /v2/buildpacks/8dec9be7-74b9-4efd-85b6-675b4d75069b

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/8dec9be7-74b9-4efd-85b6-675b4d75069b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMiIsImVtYWlsIjoiZW1haWwtMjE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDJ9.jbpy8Eh1oUzmMatYLLOvM64UfDaY8LttAeNr7wWNQmA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e0d4605c-c21a-4a93-8539-dac72072e898
Content-Length: 336
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "8dec9be7-74b9-4efd-85b6-675b4d75069b",
    "url": "/v2/buildpacks/8dec9be7-74b9-4efd-85b6-675b4d75069b",
    "created_at": "2015-02-13T22:35:02Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1641"
  }
}