Get a Droplet
GET /v3/droplets/:guid
Request
Route
GET /v3/droplets/guid-05b681e9-4fd4-4556-aac8-e37339900aa0
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v3/droplets/guid-05b681e9-4fd4-4556-aac8-e37339900aa0" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MCIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDd9.pU3fL4UeiFWoY1eqcvQIbBSqBCFmBiszyMi91ivNbLk" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-05b681e9-4fd4-4556-aac8-e37339900aa0",
"state": "STAGING",
"hash": null,
"buildpack_git_url": null,
"failure_reason": "example failure reason",
"detected_start_command": "run -c all_the_things",
"procfile": null,
"environment_variables": {
"cloud": "foundry"
},
"created_at": "2015-04-15T00:55:47Z",
"updated_at": null,
"_links": {
"self": {
"href": "/v3/droplets/guid-05b681e9-4fd4-4556-aac8-e37339900aa0"
},
"package": {
"href": "/v3/packages/guid-5523ca97-d591-46fd-a50e-45b4aacf5987"
},
"app": {
"href": "/v3/apps/guid-0eec24e3-41e6-46e7-b71b-f042a3aaf14d"
}
}
}
Headers