Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/65468ccd-3f86-411f-8841-600a80fd9ed7

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MSIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzh9.uZYCVDLUpZgsorPjKWA-UlZ7zXRNsWhql-50b6DxiDw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/65468ccd-3f86-411f-8841-600a80fd9ed7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MSIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzh9.uZYCVDLUpZgsorPjKWA-UlZ7zXRNsWhql-50b6DxiDw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "65468ccd-3f86-411f-8841-600a80fd9ed7",
    "url": "/v2/buildpacks/65468ccd-3f86-411f-8841-600a80fd9ed7",
    "created_at": "2015-03-03T00:51:18Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1990"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3635a101-7483-4044-ab0b-e89cbd897d9e
Content-Length: 336
X-Content-Type-Options: nosniff