Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-c2fefda6-4631-4d91-b18c-371460d91397

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTR9.4jvf0gsxIgMGnviGAG_noqMep8rz_0GE-GGLauJJOyk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-c2fefda6-4631-4d91-b18c-371460d91397" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTR9.4jvf0gsxIgMGnviGAG_noqMep8rz_0GE-GGLauJJOyk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-c2fefda6-4631-4d91-b18c-371460d91397",
  "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-06-04T00:05:14Z",
  "updated_at": null,
  "_links": {
    "self": {
      "href": "/v3/droplets/guid-c2fefda6-4631-4d91-b18c-371460d91397"
    },
    "package": {
      "href": "/v3/packages/guid-43799121-03a5-41f6-8d35-a884be3a41f0"
    },
    "app": {
      "href": "/v3/apps/guid-fef58067-237d-4d92-aa94-daf9db31324a"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 669bd169-abfe-4f37-8a56-ce7f523f9cac
Content-Length: 654
X-Content-Type-Options: nosniff