Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-d9b8748a-ead6-49e7-aacf-9302417a2c2e

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNiIsImVtYWlsIjoiZW1haWwtMTQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODh9.7D0yaP01E95IslEs_0AAvxZZrz7lmOBT2kGB9i8z5PQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-d9b8748a-ead6-49e7-aacf-9302417a2c2e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNiIsImVtYWlsIjoiZW1haWwtMTQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODh9.7D0yaP01E95IslEs_0AAvxZZrz7lmOBT2kGB9i8z5PQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-d9b8748a-ead6-49e7-aacf-9302417a2c2e",
  "state": "STAGED",
  "hash": null,
  "buildpack": "http://buildpack.git.url.com",
  "failure_reason": "example failure reason",
  "detected_start_command": "run -c all_the_things",
  "procfile": null,
  "environment_variables": {
    "cloud": "foundry"
  },
  "created_at": "2015-07-06T23:23:08Z",
  "updated_at": null,
  "_links": {
    "self": {
      "href": "/v3/droplets/guid-d9b8748a-ead6-49e7-aacf-9302417a2c2e"
    },
    "package": {
      "href": "/v3/packages/guid-4a98bc11-631f-4d0e-a5b8-34ac8019a23a"
    },
    "app": {
      "href": "/v3/apps/guid-76b98812-8ead-40a3-a10a-f49b48ba7883"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-76b98812-8ead-40a3-a10a-f49b48ba7883/current_droplet",
      "method": "PUT"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7b6bddcb-c3ca-489c-836d-ba808376144a
Content-Length: 816
X-Content-Type-Options: nosniff