Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-c6e5009d-d984-457e-91a1-7cfb48f10a36

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxNyIsImVtYWlsIjoiZW1haWwtMzA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTl9.C7rty_yzDBF_41h4w-D1ys_y13Vxz18D5F71exuem7g
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-c6e5009d-d984-457e-91a1-7cfb48f10a36" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxNyIsImVtYWlsIjoiZW1haWwtMzA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTl9.C7rty_yzDBF_41h4w-D1ys_y13Vxz18D5F71exuem7g" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-c6e5009d-d984-457e-91a1-7cfb48f10a36",
  "state": "STAGED",
  "hash": {
    "type": "sha1",
    "value": null
  },
  "buildpack": "http://buildpack.git.url.com",
  "error": "example error",
  "procfile": null,
  "environment_variables": {
    "cloud": "foundry"
  },
  "created_at": "2015-08-31T21:50:19Z",
  "updated_at": null,
  "_links": {
    "self": {
      "href": "/v3/droplets/guid-c6e5009d-d984-457e-91a1-7cfb48f10a36"
    },
    "package": {
      "href": "/v3/packages/guid-9e93002e-ff5e-4b6a-bfba-b5d12bb20d29"
    },
    "app": {
      "href": "/v3/apps/guid-10055652-89e5-446f-a6ab-d17b6e4d8d7f"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-10055652-89e5-446f-a6ab-d17b6e4d8d7f/current_droplet",
      "method": "PUT"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c3a82b07-5527-462c-8403-86889ecd362c
Content-Length: 784
X-Content-Type-Options: nosniff