Get Space summary
GET /v2/spaces/:guid/summary
Fields
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
|
|
|
|
Request
Headers
Route
GET /v2/spaces/ec678417-a26b-48cd-a7e1-5551e369e94b/summary
cURL
curl "https://api.[your-domain.com]/v2/spaces/ec678417-a26b-48cd-a7e1-5551e369e94b/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzN9.98NaGfRLmXfwF8IVREp6TodpBWvBxLsSIIB0E6B2ru4" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"guid": "ec678417-a26b-48cd-a7e1-5551e369e94b",
"name": "name-1426",
"apps": [
{
"guid": "9b2226b9-f6f7-43f6-9c14-b50e339f809d",
"urls": [
"host-13.domain-28.example.com"
],
"routes": [
{
"guid": "40cd0d4d-5feb-4c11-b167-902651ce8c2a",
"host": "host-13",
"domain": {
"guid": "7a95b127-dffe-43e8-b38c-1e91c38b2814",
"name": "domain-28.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-1431"
],
"running_instances": 0,
"name": "name-1429",
"production": false,
"space_guid": "ec678417-a26b-48cd-a7e1-5551e369e94b",
"stack_guid": "5330d02c-64b9-45a5-a264-76af42a8e48c",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "431cb032-f1ac-4e72-8514-6828f9afdad5",
"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,
"docker_image": null,
"package_updated_at": "2015-02-12T01:42:13Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "91f2b6ab-ade8-4d82-ad7f-04cca4f521a7",
"name": "name-1431",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "9c4d65f4-0b61-41c8-a59f-e4e5ff3cedcd",
"name": "name-1432",
"service": {
"guid": "cf02b28a-8742-4f29-aeee-1be030b0e9d6",
"label": "label-66",
"provider": null,
"version": null
}
}
}
]
}