Get an App
GET /v3/apps/:guid
Request
Route
GET /v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043
Headers
cURL
curl "https://api.[your-domain.com]/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDZ9.EuNrMtOwV8NBPuawkGseGeTUitok1nwR9ec6pVuzIuI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-f05b121d-9fbb-4318-950b-347afee6c043",
"name": "my_app",
"desired_state": "STOPPED",
"total_desired_instances": 3,
"buildpack": "name-561",
"created_at": "2015-10-13T17:31:46Z",
"updated_at": null,
"environment_variables": {
"unicorn": "horn"
},
"links": {
"self": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043"
},
"space": {
"href": "/v2/spaces/3bf76681-98d6-4cf6-84ba-1ca645e22f3b"
},
"processes": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043/processes"
},
"routes": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043/routes"
},
"packages": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043/packages"
},
"droplet": {
"href": "/v3/droplets/a-droplet-guid"
},
"droplets": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043/droplets"
},
"start": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043/start",
"method": "PUT"
},
"stop": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043/stop",
"method": "PUT"
},
"assign_current_droplet": {
"href": "/v3/apps/guid-f05b121d-9fbb-4318-950b-347afee6c043/current_droplet",
"method": "PUT"
}
}
}
Headers