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.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC0zM0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk3fQ.KnCv9dDckTflvF_Vlz4aIc4fGnJ5es1lyeNisNzX_A0
Host: example.org
Cookie: 

Route

GET /v2/buildpacks/9fbff3e6-5ca9-4025-aea9-18d67ae0e963

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/9fbff3e6-5ca9-4025-aea9-18d67ae0e963" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC0zM0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk3fQ.KnCv9dDckTflvF_Vlz4aIc4fGnJ5es1lyeNisNzX_A0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ffc641c8-3fca-4e7d-8262-47a68cea935d
Content-Length: 340
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "9fbff3e6-5ca9-4025-aea9-18d67ae0e963",
    "url": "/v2/buildpacks/9fbff3e6-5ca9-4025-aea9-18d67ae0e963",
    "created_at": "2014-11-13T23:38:17+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-333"
  }
}