Get a Droplet
GET /v3/droplets/:guid
Request
Route
GET /v3/droplets/guid-a92fd9f4-e479-49d9-ad7e-cd05c7376f57
Headers
cURL
curl "https://api.[your-domain.com]/v3/droplets/guid-a92fd9f4-e479-49d9-ad7e-cd05c7376f57" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNSIsImVtYWlsIjoiZW1haWwtMjk2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM3MDB9.9WkQLcCj3Wm5_8-9nQ73TKid6yfIr-dVfxgCB6BR_5U" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-a92fd9f4-e479-49d9-ad7e-cd05c7376f57",
"state": "STAGED",
"error": "example error",
"lifecycle": {
"type": "buildpack",
"data": {
"buildpack": "name-2255",
"stack": "name-2256"
}
},
"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": "2015-12-22T18:28:20Z",
"updated_at": "2015-12-22T18:28:20Z",
"links": {
"self": {
"href": "/v3/droplets/guid-a92fd9f4-e479-49d9-ad7e-cd05c7376f57"
},
"package": {
"href": "/v3/packages/guid-a9747345-1580-477d-84c9-b6ad864a124b"
},
"app": {
"href": "/v3/apps/guid-c9bba7ea-5e40-4050-91a1-72c21f526393"
},
"assign_current_droplet": {
"href": "/v3/apps/guid-c9bba7ea-5e40-4050-91a1-72c21f526393/current_droplet",
"method": "PUT"
}
}
}
Headers