Home
Version 3
Buildpacks API

Buildpacks API

Retrieve a Particular Buildpack

GET /v2/buildpacks/:guid

Request

Route

GET /v2/buildpacks/abe721d3-9375-4473-82e8-e5d2e7444fe9

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MCIsImVtYWlsIjoiZW1haWwtMTgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NTV9.h4lTk0aEU8T7X6PF_1G0geNz2OUGwIvshP2PWR0HcSI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/abe721d3-9375-4473-82e8-e5d2e7444fe9" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MCIsImVtYWlsIjoiZW1haWwtMTgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NTV9.h4lTk0aEU8T7X6PF_1G0geNz2OUGwIvshP2PWR0HcSI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "abe721d3-9375-4473-82e8-e5d2e7444fe9",
    "url": "/v2/buildpacks/abe721d3-9375-4473-82e8-e5d2e7444fe9",
    "created_at": "2015-10-15T23:52:35Z",
    "updated_at": null
  },
  "entity": {
    "name": "name_1",
    "position": 1,
    "enabled": true,
    "locked": false,
    "filename": "name-1943"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7a225d75-ccb7-4e15-964e-f68a3d7c8905
Content-Length: 336
X-Content-Type-Options: nosniff