Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Fields

Name Description Default Valid Values Example Values

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MCIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTF9.j2CTNVJdXCO1z4pnhBoEB0XAz5Xdj3zND2spBnQhT8g
Host: example.org
Cookie: 

Route

GET /v3/droplets/guid-b61a9332-505b-4a60-87e2-643c42a34d1f

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-b61a9332-505b-4a60-87e2-643c42a34d1f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MCIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTF9.j2CTNVJdXCO1z4pnhBoEB0XAz5Xdj3zND2spBnQhT8g" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 45d21633-58c8-4a57-8961-a62c41ce00e9
Content-Length: 468
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "guid": "guid-b61a9332-505b-4a60-87e2-643c42a34d1f",
  "state": "STAGING",
  "hash": null,
  "buildpack_git_url": null,
  "failure_reason": "example failure reason",
  "detected_start_command": "run -c all_the_things",
  "created_at": "2015-02-13T22:34:51Z",
  "_links": {
    "self": {
      "href": "/v3/droplets/guid-b61a9332-505b-4a60-87e2-643c42a34d1f"
    },
    "package": {
      "href": "/v3/packages/guid-400ee282-3fe5-4a26-b7ce-96ac1682d6ad"
    }
  }
}