Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-3270f557-a3cf-4c29-84b7-75f344829af2

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNSIsImVtYWlsIjoiZW1haWwtMTc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NDJ9.Q2vZE-cDrOFFNuULeVTMKdKKw_kkoK0tymQT5wDP6uw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-3270f557-a3cf-4c29-84b7-75f344829af2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNSIsImVtYWlsIjoiZW1haWwtMTc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NDJ9.Q2vZE-cDrOFFNuULeVTMKdKKw_kkoK0tymQT5wDP6uw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-3270f557-a3cf-4c29-84b7-75f344829af2",
  "state": "STAGED",
  "error": "example error",
  "lifecycle": {
    "type": "buildpack",
    "data": {
      "buildpack": "name-1935",
      "stack": "name-1936"
    }
  },
  "memory_limit": 123,
  "disk_limit": null,
  "result": {
    "execution_metadata": null,
    "process_types": null,
    "hash": {
      "type": "sha1",
      "value": null
    },
    "buildpack": "http://buildpack.git.url.com",
    "stack": null
  },
  "environment_variables": {
    "cloud": "foundry"
  },
  "created_at": "2016-03-14T22:30:42Z",
  "updated_at": "2016-03-14T22:30:42Z",
  "links": {
    "self": {
      "href": "/v3/droplets/guid-3270f557-a3cf-4c29-84b7-75f344829af2"
    },
    "package": {
      "href": "/v3/packages/guid-7a9cd95f-75b9-4b75-a85d-589f24ed4032"
    },
    "app": {
      "href": "/v3/apps/guid-3726f60f-f276-4484-8725-c36b30ecdaf8"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-3726f60f-f276-4484-8725-c36b30ecdaf8/current_droplet",
      "method": "PUT"
    }
  }
}

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
X-Runtime: 0.016280
Content-Length: 1058