Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/d8ec3ee1-f203-4fae-96c8-91f774f455eb

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTZ9.L32Obrg7MrJcCaBn6Lxr9-qhl6ZoZ04_-wrAHi9IxLA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/d8ec3ee1-f203-4fae-96c8-91f774f455eb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTZ9.L32Obrg7MrJcCaBn6Lxr9-qhl6ZoZ04_-wrAHi9IxLA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d8ec3ee1-f203-4fae-96c8-91f774f455eb",
    "url": "/v2/buildpacks/d8ec3ee1-f203-4fae-96c8-91f774f455eb",
    "created_at": "2015-05-21T01:03:16Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1970"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8cb48496-3813-4b93-8ae8-8a009cc9e58f
Content-Length: 336
X-Content-Type-Options: nosniff