Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-a74d8ed9-2d1b-4db8-a101-d3e3ec2fab33

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MSIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTF9.42N2XueHW-ZlnB9P8C8diaeRnsbhdKOFxXuZkTXizbU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-a74d8ed9-2d1b-4db8-a101-d3e3ec2fab33" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MSIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTF9.42N2XueHW-ZlnB9P8C8diaeRnsbhdKOFxXuZkTXizbU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-a74d8ed9-2d1b-4db8-a101-d3e3ec2fab33",
  "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-13T17:31:51Z",
  "updated_at": null,
  "links": {
    "self": {
      "href": "/v3/droplets/guid-a74d8ed9-2d1b-4db8-a101-d3e3ec2fab33"
    },
    "package": {
      "href": "/v3/packages/guid-9c476122-fee4-40be-8afe-80917f9c14f2"
    },
    "app": {
      "href": "/v3/apps/guid-aedfb67a-e45b-4cee-94fb-128057698986"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-aedfb67a-e45b-4cee-94fb-128057698986/current_droplet",
      "method": "PUT"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6ca344c5-c895-4902-b3cc-47958f59329a
Content-Length: 1053
X-Content-Type-Options: nosniff