Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-99022c01-ae6d-4e96-8c82-d448d2b9336c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzh9.m-AkxQWHtbYg-43UmpvcsxRS9f7m4UMyd8z7vK3S6UA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-99022c01-ae6d-4e96-8c82-d448d2b9336c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzh9.m-AkxQWHtbYg-43UmpvcsxRS9f7m4UMyd8z7vK3S6UA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-99022c01-ae6d-4e96-8c82-d448d2b9336c",
  "state": "STAGED",
  "error": "example error",
  "lifecycle": {
    "type": "buildpack",
    "data": {
      "buildpack": "name-2126",
      "stack": "name-2127"
    }
  },
  "memory_limit": null,
  "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-02-19T02:03:58Z",
  "updated_at": "2016-02-19T02:03:58Z",
  "links": {
    "self": {
      "href": "/v3/droplets/guid-99022c01-ae6d-4e96-8c82-d448d2b9336c"
    },
    "package": {
      "href": "/v3/packages/guid-d8e73088-6a66-48fc-8653-c3a38c6118a0"
    },
    "app": {
      "href": "/v3/apps/guid-a535e961-8a40-4eef-bd91-286c2a67dbb6"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-a535e961-8a40-4eef-bd91-286c2a67dbb6/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.013453
Content-Length: 1059