Get a Droplet
GET /v3/droplets/:guid
Request
Route
GET /v3/droplets/guid-63da9bdb-5e58-4602-a60a-6a98b3564efc
Headers
cURL
curl "https://api.[your-domain.com]/v3/droplets/guid-63da9bdb-5e58-4602-a60a-6a98b3564efc" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OSIsImVtYWlsIjoiZW1haWwtMTgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mjd9.UNT0d-ZWLgyejAul5LnS_-WLhEpIq9ZhtJpMaA2Mevc" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-63da9bdb-5e58-4602-a60a-6a98b3564efc",
"state": "STAGED",
"error": "example error",
"lifecycle": {
"type": "buildpack",
"data": {
"buildpack": "name-1963",
"stack": "name-1964"
}
},
"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-11-30T23:38:47Z",
"updated_at": "2015-11-30T23:38:47Z",
"links": {
"self": {
"href": "/v3/droplets/guid-63da9bdb-5e58-4602-a60a-6a98b3564efc"
},
"package": {
"href": "/v3/packages/guid-ec59f6ce-53a2-42b8-a658-d8f083c709de"
},
"app": {
"href": "/v3/apps/guid-cd8addde-836e-4401-a90b-4fbdf8943eca"
},
"assign_current_droplet": {
"href": "/v3/apps/guid-cd8addde-836e-4401-a90b-4fbdf8943eca/current_droplet",
"method": "PUT"
}
}
}
Headers