Get an App
GET /v3/apps/:guid
Request
Route
GET /v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6
Headers
cURL
curl "https://api.[your-domain.com]/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MSIsImVtYWlsIjoiZW1haWwtMTY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NTN9.KJedlF48f6zc8YJyQ_K0CCcLFgesYdDhweHEiDyB4BM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6",
"name": "my_app",
"desired_state": "STOPPED",
"total_desired_instances": 3,
"created_at": "2015-10-15T23:52:33Z",
"updated_at": null,
"lifecycle": null,
"environment_variables": {
"unicorn": "horn"
},
"links": {
"self": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6"
},
"space": {
"href": "/v2/spaces/514651fe-d7d6-4634-8c5b-6b41410040a2"
},
"processes": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6/processes"
},
"routes": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6/routes"
},
"packages": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6/packages"
},
"droplet": {
"href": "/v3/droplets/a-droplet-guid"
},
"droplets": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6/droplets"
},
"start": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6/start",
"method": "PUT"
},
"stop": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6/stop",
"method": "PUT"
},
"assign_current_droplet": {
"href": "/v3/apps/guid-bd41be3a-0467-4227-af17-29f2bf0fe0f6/current_droplet",
"method": "PUT"
}
}
}
Headers