Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-c629f293-ab2f-4c5c-947b-1287e14dd9a5

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjV9.8G70hsgRHQ0J79I11ckKIYGALCOmYHSPM2mvPCLQO1w
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-c629f293-ab2f-4c5c-947b-1287e14dd9a5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjV9.8G70hsgRHQ0J79I11ckKIYGALCOmYHSPM2mvPCLQO1w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-c629f293-ab2f-4c5c-947b-1287e14dd9a5",
  "state": "STAGED",
  "error": "example error",
  "lifecycle": {
    "type": "buildpack",
    "data": {
      "buildpack": "name-1862",
      "stack": "name-1863"
    }
  },
  "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-11-13T17:02:45Z",
  "updated_at": "2015-11-13T17:02:45Z",
  "links": {
    "self": {
      "href": "/v3/droplets/guid-c629f293-ab2f-4c5c-947b-1287e14dd9a5"
    },
    "package": {
      "href": "/v3/packages/guid-aee70254-57d8-410c-88f4-fd13ce41fd43"
    },
    "app": {
      "href": "/v3/apps/guid-7ac0028f-4ff1-4939-b0ac-390c680122ff"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-7ac0028f-4ff1-4939-b0ac-390c680122ff/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.016125
Content-Length: 1059