Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/22a4cc90-233e-417d-9e0e-a004ff318275

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNyIsImVtYWlsIjoiZW1haWwtMTU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODl9.StGmUASeY7f0t3qd3pdtgR25rw_j6fY0kLazzAsYFUI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/22a4cc90-233e-417d-9e0e-a004ff318275" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNyIsImVtYWlsIjoiZW1haWwtMTU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODl9.StGmUASeY7f0t3qd3pdtgR25rw_j6fY0kLazzAsYFUI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "22a4cc90-233e-417d-9e0e-a004ff318275",
    "url": "/v2/buildpacks/22a4cc90-233e-417d-9e0e-a004ff318275",
    "created_at": "2015-07-06T23:23:09Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1582"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 09c17406-8349-4534-9393-9e85d9c30124
Content-Length: 336
X-Content-Type-Options: nosniff