Get App summary
GET /v2/apps/:guid/summary
Request
Route
GET /v2/apps/11f802b5-5557-447c-8006-f69c3a0809e8/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/11f802b5-5557-447c-8006-f69c3a0809e8/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNCIsImVtYWlsIjoiZW1haWwtMjkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NjF9.iUpeFnPKDWf3sxvDB0RF2_nSLAkqLZP7iN6Nx0bWE-Q" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "11f802b5-5557-447c-8006-f69c3a0809e8",
"name": "name-2311",
"routes": [
{
"guid": "beaf9422-8983-416e-b332-d3e4ecd89176",
"host": "host-25",
"path": "",
"domain": {
"guid": "4ea3fd84-6ba6-4efc-81c6-aaeb774e391c",
"name": "domain-73.example.com"
}
}
],
"running_instances": 0,
"services": [
{
"guid": "d80b4861-0a03-42af-a4e6-acdf5c227c3f",
"name": "name-2313",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "14336348-2d72-45aa-b08c-fceb73bc82e1",
"name": "name-2314",
"service": {
"guid": "ce9d80df-5105-464b-b49c-c6357de3f6bb",
"label": "label-71",
"provider": null,
"version": null
}
}
}
],
"available_domains": [
{
"guid": "4ea3fd84-6ba6-4efc-81c6-aaeb774e391c",
"name": "domain-73.example.com",
"owning_organization_guid": "b380e6bb-2ed1-426c-9366-eebff61213d2"
},
{
"guid": "a42283b0-7b63-49c9-9ea5-2a7e96ce0c60",
"name": "customer-app-domain1.com",
"router_group_guid": null,
"router_group_type": null
},
{
"guid": "1308e8d2-0fd4-41f1-a008-ec21e12b7639",
"name": "customer-app-domain2.com",
"router_group_guid": null,
"router_group_type": null
}
],
"production": false,
"space_guid": "9402090f-6970-4247-8efb-e382d6d26d6f",
"stack_guid": "8ca381dc-9a1b-4917-bd38-bd6ff8ce005a",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "47b88738-0473-4b4d-9467-d12bbc3ac0bb",
"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": "2016-04-06T00:17:41Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null
}
Headers