Get a Droplet
GET /v3/droplets/:guid
Request
Route
GET /v3/droplets/guid-031cca82-5502-4c2d-a798-b9a2520fe679
Headers
cURL
curl "https://api.[your-domain.com]/v3/droplets/guid-031cca82-5502-4c2d-a798-b9a2520fe679" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMyIsImVtYWlsIjoiZW1haWwtMTc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDJ9.bqnzRIwXQQk61W4ciOriTz733ZNx1s8Td-wP5UdbnI8" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-031cca82-5502-4c2d-a798-b9a2520fe679",
"state": "STAGED",
"error": "example error",
"lifecycle": {
"type": "buildpack",
"data": {
"buildpack": "name-990",
"stack": "name-991"
}
},
"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-03T00:54:02Z",
"updated_at": null,
"links": {
"self": {
"href": "/v3/droplets/guid-031cca82-5502-4c2d-a798-b9a2520fe679"
},
"package": {
"href": "/v3/packages/guid-03201969-8adc-4726-8be6-f22e10cb3b29"
},
"app": {
"href": "/v3/apps/guid-8a594f92-4fd3-4be4-b9f8-e0bb9f6984e4"
},
"assign_current_droplet": {
"href": "/v3/apps/guid-8a594f92-4fd3-4be4-b9f8-e0bb9f6984e4/current_droplet",
"method": "PUT"
}
}
}
Headers