Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-0ac73c51-9339-4c84-a996-66974e7d0f83

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3OCIsImVtYWlsIjoiZW1haWwtMTI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NjZ9.0gsQkrfwGT6bapimMHG2oTzC6h37LXuJXbqYeHtAm5c
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-0ac73c51-9339-4c84-a996-66974e7d0f83" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3OCIsImVtYWlsIjoiZW1haWwtMTI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NjZ9.0gsQkrfwGT6bapimMHG2oTzC6h37LXuJXbqYeHtAm5c" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-0ac73c51-9339-4c84-a996-66974e7d0f83",
  "state": "STAGING",
  "hash": null,
  "buildpack_git_url": null,
  "failure_reason": "example failure reason",
  "detected_start_command": "run -c all_the_things",
  "created_at": "2015-03-03T00:51:06Z",
  "_links": {
    "self": {
      "href": "/v3/droplets/guid-0ac73c51-9339-4c84-a996-66974e7d0f83"
    },
    "package": {
      "href": "/v3/packages/guid-7c6af473-5071-4f16-8a69-27fc41c458d9"
    },
    "app": {
      "href": "/v3/apps/guid-2a7c5abc-ec32-4355-ba0a-507e28cde993"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4b3f45f9-249c-4443-bc2e-cd0980ae90fe
Content-Length: 555
X-Content-Type-Options: nosniff