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.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NCIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.kjZyZ6nLszqPzQ9VyOXAem1hRLyGEXyE2YwRyNhaOkY
Host: example.org
Cookie: 

Route

GET /v2/buildpacks/8252c78a-2c51-40a7-90e3-0bd245654137

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/8252c78a-2c51-40a7-90e3-0bd245654137" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NCIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.kjZyZ6nLszqPzQ9VyOXAem1hRLyGEXyE2YwRyNhaOkY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 747a6716-962e-4ae5-847c-c17487d8d209
Content-Length: 341
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "8252c78a-2c51-40a7-90e3-0bd245654137",
    "url": "/v2/buildpacks/8252c78a-2c51-40a7-90e3-0bd245654137",
    "created_at": "2014-12-24T01:39:36+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1675"
  }
}