Home
Version 3
Droplets (Experimental) API

Droplets (Experimental) API

Get a Droplet

GET /v3/droplets/:guid

Request

Route

GET /v3/droplets/guid-1c9d0805-7024-4868-9da1-ad0cf023200f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.1qAIDhA2vSMCi9eihLiyf-jSzRfCQYbl_02TEP-dJNQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/droplets/guid-1c9d0805-7024-4868-9da1-ad0cf023200f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.1qAIDhA2vSMCi9eihLiyf-jSzRfCQYbl_02TEP-dJNQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-1c9d0805-7024-4868-9da1-ad0cf023200f",
  "state": "STAGED",
  "hash": {
    "type": "sha1",
    "value": null
  },
  "buildpack": "http://buildpack.git.url.com",
  "error": "example error",
  "procfile": null,
  "environment_variables": {
    "cloud": "foundry"
  },
  "created_at": "2015-09-30T23:30:41Z",
  "updated_at": null,
  "links": {
    "self": {
      "href": "/v3/droplets/guid-1c9d0805-7024-4868-9da1-ad0cf023200f"
    },
    "package": {
      "href": "/v3/packages/guid-d573e7b5-f267-459b-b1c5-5388c9024ef6"
    },
    "app": {
      "href": "/v3/apps/guid-883e20a1-279c-48ec-aadf-a727567c205b"
    },
    "assign_current_droplet": {
      "href": "/v3/apps/guid-883e20a1-279c-48ec-aadf-a727567c205b/current_droplet",
      "method": "PUT"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a861353f-5279-4a52-9f2e-6082547567ab
Content-Length: 783
X-Content-Type-Options: nosniff