Get a Droplet
GET /v3/droplets/:guid
Request
Route
GET /v3/droplets/guid-7f94d4ce-9fa1-402a-a00a-06807bf54bff
Headers
cURL
curl "https://api.[your-domain.com]/v3/droplets/guid-7f94d4ce-9fa1-402a-a00a-06807bf54bff" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NyIsImVtYWlsIjoiZW1haWwtMzI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDh9.yoIOzIZkbkCjhLFXMrG9vkChWsRMOYQuc4KHDHYDU8o" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-7f94d4ce-9fa1-402a-a00a-06807bf54bff",
"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-10-07T00:35:48Z",
"updated_at": null,
"links": {
"self": {
"href": "/v3/droplets/guid-7f94d4ce-9fa1-402a-a00a-06807bf54bff"
},
"package": {
"href": "/v3/packages/guid-1b70997c-bed3-4315-95a2-ae25be823a52"
},
"app": {
"href": "/v3/apps/guid-5210e31f-074c-416d-a0a7-a7c0ba60a807"
},
"assign_current_droplet": {
"href": "/v3/apps/guid-5210e31f-074c-416d-a0a7-a7c0ba60a807/current_droplet",
"method": "PUT"
}
}
}
Headers