Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/f4093c2b-5a3d-43b9-bb3a-84b05ad9cdda/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/f4093c2b-5a3d-43b9-bb3a-84b05ad9cdda/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0zMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA1fQ.Zorfw5WElM6eUM1fWamj4OlYgq1KODRpld6IULh7lAs" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "f4093c2b-5a3d-43b9-bb3a-84b05ad9cdda",
"name": "name-119",
"apps": [
{
"guid": "30fc4512-158a-4726-b6c4-417918cbffea",
"urls": [
"host-12.domain-18.example.com"
],
"routes": [
{
"guid": "7c636db4-8f48-4f5b-9e0f-b34137a09022",
"host": "host-12",
"domain": {
"guid": "ff792ded-8a45-43e6-9330-3a4c9d25d722",
"name": "domain-18.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-124"
],
"running_instances": 0,
"name": "name-122",
"production": false,
"space_guid": "f4093c2b-5a3d-43b9-bb3a-84b05ad9cdda",
"stack_guid": "b64d7cbd-d0e6-46fd-86f1-47ffed18d49c",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "4f17b910-c29e-43d7-b144-43ad234b49c0",
"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-05-15T16:53:25Z",
"detected_start_command": "",
"enable_ssh": true
}
],
"services": [
{
"guid": "0ab8cfc4-8081-4523-ba10-06efef8da72b",
"name": "name-124",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "4423576e-fab8-4d90-aa20-b95ecbcff6d6",
"name": "name-125",
"service": {
"guid": "e688eeed-d714-4575-b691-ee26873f1dd8",
"label": "label-7",
"provider": null,
"version": null
}
}
}
]
}
Headers