Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/c86e6061-4d00-4e2d-ba1f-f621b904f052/summary
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the space for which summary is requested
|
|
|
|
name
|
The name of the space.
|
|
|
|
apps
|
List of apps that are running in the space
|
|
|
|
services
|
List of services that are associated with the space
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/c86e6061-4d00-4e2d-ba1f-f621b904f052/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNyIsImVtYWlsIjoiZW1haWwtMjM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjZ9.xlQfHAL0MNYGsn_c3BdAFq21wyKKfKcvdopYV2cVQu4" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "c86e6061-4d00-4e2d-ba1f-f621b904f052",
"name": "name-1839",
"apps": [
{
"guid": "4ecf3638-21ba-444e-bbe0-1cef0b2771fc",
"urls": [
"host-10.domain-48.example.com"
],
"routes": [
{
"guid": "76efe966-9107-4ec2-9903-b6f59e0f4617",
"host": "host-10",
"domain": {
"guid": "6e907412-a795-4a44-8aac-931af04be005",
"name": "domain-48.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-1844"
],
"running_instances": 0,
"name": "name-1842",
"production": false,
"space_guid": "c86e6061-4d00-4e2d-ba1f-f621b904f052",
"stack_guid": "eeb52809-d359-4b67-a753-2bcf18d1ea94",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "1e2a044c-0911-4a41-9ed2-10333afec83a",
"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,
"diego": false,
"docker_image": null,
"package_updated_at": "2015-03-20T18:27:46Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "7e633636-0d49-4775-8771-64e200568ee2",
"name": "name-1844",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "48b3a5a6-0894-4d22-9b04-00a1da20c3fd",
"name": "name-1845",
"service": {
"guid": "d6aa9d82-3ad3-490d-9d60-d6ccd49335d2",
"label": "label-73",
"provider": null,
"version": null
}
}
}
]
}
Headers