Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-a4943f88-7fa3-46e8-be9f-9f48b6798cb0

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk2IiwiZW1haWwiOiJlbWFpbC03NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgyfQ.9POCrikX-5dMnsfCQn_wtkIefTH0t3lzaN_fv1hpYeM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-a4943f88-7fa3-46e8-be9f-9f48b6798cb0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk2IiwiZW1haWwiOiJlbWFpbC03NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgyfQ.9POCrikX-5dMnsfCQn_wtkIefTH0t3lzaN_fv1hpYeM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-a4943f88-7fa3-46e8-be9f-9f48b6798cb0",
  "state": "STAGING",
  "hash": null,
  "buildpack_git_url": null,
  "failure_reason": "example failure reason",
  "detected_start_command": "run -c all_the_things",
  "procfile": null,
  "environment_variables": {
    "cloud": "foundry"
  },
  "created_at": "2015-05-21T01:03:02Z",
  "updated_at": null,
  "_links": {
    "self": {
      "href": "/v3/droplets/guid-a4943f88-7fa3-46e8-be9f-9f48b6798cb0"
    },
    "package": {
      "href": "/v3/packages/guid-29bc5ef8-26a6-4c2a-acf5-3f835399b9cd"
    },
    "app": {
      "href": "/v3/apps/guid-98c8b5ea-6fc7-4b18-ae3c-b26d74d41d1a"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 192beee7-11a1-492b-91d3-d9763a4bd1de
Content-Length: 654
X-Content-Type-Options: nosniff