Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-fe2f54af-22bb-4930-801f-17dc594d5614

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MyIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjV9.IOWeGD6LT9GmCchQ9XDWFy0XRtsP_MGtdR9mXzEYfMg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-fe2f54af-22bb-4930-801f-17dc594d5614" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MyIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjV9.IOWeGD6LT9GmCchQ9XDWFy0XRtsP_MGtdR9mXzEYfMg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-fe2f54af-22bb-4930-801f-17dc594d5614",
  "state": "STAGED",
  "error": "example error",
  "lifecycle": {
    "type": "buildpack",
    "data": {
      "stack": null,
      "buildpack": "http://buildpack.git.url.com"
    }
  },
  "memory_limit": null,
  "disk_limit": null,
  "result": {
    "buildpack": "http://buildpack.git.url.com",
    "stack": null,
    "process_types": null,
    "hash": {
      "type": "sha1",
      "value": null
    },
    "execution_metadata": null
  },
  "environment_variables": {
    "cloud": "foundry"
  },
  "created_at": "2015-10-15T23:52:45Z",
  "updated_at": null,
  "links": {
    "self": {
      "href": "/v3/droplets/guid-fe2f54af-22bb-4930-801f-17dc594d5614"
    },
    "package": {
      "href": "/v3/packages/guid-2dfff4f6-f6d9-4086-acea-06f5f1d28976"
    },
    "app": {
      "href": "/v3/apps/guid-d01b3707-381f-4de3-9a6c-cf4fcabef451"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-d01b3707-381f-4de3-9a6c-cf4fcabef451/current_droplet",
      "method": "PUT"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b14726f9-88ee-4bf3-8f19-c543cedb052e
Content-Length: 1053
X-Content-Type-Options: nosniff