Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-f30f50b3-3233-43d8-8bc9-383ea22107fc

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNiIsImVtYWlsIjoiZW1haWwtMjUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NjN9.dXQLrK19TrXur9Jn3T7T7do_IJDx_STzafnCyUFpG5A
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-f30f50b3-3233-43d8-8bc9-383ea22107fc" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNiIsImVtYWlsIjoiZW1haWwtMjUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NjN9.dXQLrK19TrXur9Jn3T7T7do_IJDx_STzafnCyUFpG5A" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-f30f50b3-3233-43d8-8bc9-383ea22107fc",
  "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-16T23:41:03Z",
  "updated_at": null,
  "_links": {
    "self": {
      "href": "/v3/droplets/guid-f30f50b3-3233-43d8-8bc9-383ea22107fc"
    },
    "package": {
      "href": "/v3/packages/guid-1621d651-f243-4f32-b599-d09ea3ba1435"
    },
    "app": {
      "href": "/v3/apps/guid-24e64aa6-c11f-4bfc-980c-1e7ce3bb2fec"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9912aa7f-27e5-4b18-b025-1dae560c4cce
Content-Length: 654
X-Content-Type-Options: nosniff