Get App summary
GET /v2/apps/:guid/summary
Request
Route
GET /v2/apps/24db2170-dbc4-4d1f-8867-dffb7c67fddc/summary
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the app for which summary is requested
|
|
|
|
name
|
The name of the app.
|
|
|
|
memory
|
The amount of memory each instance should have. In megabytes.
|
|
|
|
instances
|
The number of instances of the app to run.
|
|
|
|
disk_quota
|
The maximum amount of disk available to an instance of an app. In megabytes.
|
|
|
|
space_guid
|
The guid of the associated space.
|
|
|
|
stack_guid
|
The guid of the associated stack.
|
Uses the default system stack.
|
|
|
state
|
The current state of the app. One of STOPPED or STARTED.
|
STOPPED
|
|
|
command
|
The command to start an app after it is staged (e.g. 'rails s -p $PORT' or 'java com.org.Server $PORT').
|
|
|
|
buildpack
|
Buildpack to build the app. 3 options: a) Blank means autodetection; b) A Git Url pointing to a buildpack; c) Name of an installed buildpack.
|
|
|
|
health_check_timeout
|
Timeout for health checking of an staged app when starting up
|
|
|
|
environment_json
|
Key/value pairs of all the environment variables to run in your app. Does not include any system or service variables.
|
|
|
|
detected_buildpack
|
The autodetected buildpack that staged the app.
|
|
|
|
detected_buildpack_guid
|
The guid of the autodetected admin buildpack that staged the app.
|
|
|
|
production
|
Deprecated.
|
true
|
|
|
console
|
Open the console port for the app (at $CONSOLE_PORT).
|
false
|
|
|
debug
|
Open the debug port for the app (at $DEBUG_PORT).
|
false
|
|
|
package_state
|
The current state of the package. One of PENDING, STAGED or FAILED.
|
|
|
|
package_updated_at
|
Time when the package was last updated
|
|
|
|
system_env_json
|
environment_json for system variables, contains vcap_services by default, a hash containing key/value pairs of the names and information of the services associated with your app.
|
|
|
|
staging_task_id
|
Staging task id
|
|
|
|
running_instances
|
The number of instances of the app that are currently running.
|
|
|
|
available_domain
|
List of available domains configured for the app
|
|
|
|
routes
|
List of routes configured for the app
|
|
|
|
version
|
Version guid of the app
|
|
|
|
services
|
List of services that are bound to the app
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/apps/24db2170-dbc4-4d1f-8867-dffb7c67fddc/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTczIiwiZW1haWwiOiJlbWFpbC0zOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQ0fQ.HH6JAFVcDPof5e92HMfsw-ytfUHUxFC0J9GGi2rqKTQ" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "24db2170-dbc4-4d1f-8867-dffb7c67fddc",
"name": "name-98",
"routes": [
{
"guid": "f80083c4-baf8-41ce-a448-21c38790a8df",
"host": "host-2",
"domain": {
"guid": "fb2e1645-e23c-454e-bf3b-fc27c124fd5d",
"name": "domain-6.example.com"
}
}
],
"running_instances": 0,
"services": [
{
"guid": "6c561412-af7a-4d9e-a395-a7e3c51cb7ea",
"name": "name-100",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "c8962c48-8599-423d-a8eb-7083e1838f9a",
"name": "name-101",
"service": {
"guid": "600e25a7-91ec-4e30-a6f5-8fc48e3b6bef",
"label": "label-3",
"provider": null,
"version": null
}
}
}
],
"available_domains": [
{
"guid": "fb2e1645-e23c-454e-bf3b-fc27c124fd5d",
"name": "domain-6.example.com",
"owning_organization_guid": "9706776b-d9fc-4678-8461-4643e28d987f"
},
{
"guid": "9fb474d7-0196-4d7b-91a8-2a425c20fbdc",
"name": "customer-app-domain1.com",
"router_group_guid": null
},
{
"guid": "9878d301-203f-488b-96bd-8471a9edcb26",
"name": "customer-app-domain2.com",
"router_group_guid": null
}
],
"production": false,
"space_guid": "b90a68db-6569-4d35-906f-4f938da7e25b",
"stack_guid": "66be922c-420d-4530-8e80-84cee4f97b8a",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "68f2b332-51a4-401e-b770-0340bf3d516d",
"command": null,
"console": false,
"debug": null,
"staging_task_id": null,
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"staging_failed_description": null,
"diego": false,
"docker_image": null,
"package_updated_at": "2015-11-13T17:02:24Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null
}
Headers