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.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDF9.gYuRkMPdPJgLXhbLf60PaO9A9mg_vhPSto2aZ3OlTvs
Host: example.org
Cookie: 

Route

GET /v2/buildpacks/afcb20cb-4ef3-4c1c-9c53-a3e4bbe9402a

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/afcb20cb-4ef3-4c1c-9c53-a3e4bbe9402a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDF9.gYuRkMPdPJgLXhbLf60PaO9A9mg_vhPSto2aZ3OlTvs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 366033ce-8b36-4bb5-9dde-11481d3b63fc
Content-Length: 341
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "afcb20cb-4ef3-4c1c-9c53-a3e4bbe9402a",
    "url": "/v2/buildpacks/afcb20cb-4ef3-4c1c-9c53-a3e4bbe9402a",
    "created_at": "2015-01-20T01:52:21+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1356"
  }
}