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/9bc5ba71-e09e-4bda-a472-074dc0b7c6e7/summary
cURL
curl "https://api.[your-domain.com]/v2/spaces/9bc5ba71-e09e-4bda-a472-074dc0b7c6e7/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk3fQ.MqiCt5qutKpZxYLpOhkaoYTGur78qGfw7jiuLp1bBTs" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"guid": "9bc5ba71-e09e-4bda-a472-074dc0b7c6e7",
"name": "name-339",
"apps": [
{
"guid": "324a39b8-241c-4ccc-b2ba-0955c230620c",
"urls": [
"host-1.domain-7.example.com"
],
"routes": [
{
"guid": "ed8de582-585c-453a-b387-a71ea2c6387d",
"host": "host-1",
"domain": {
"guid": "064e4104-0887-4e5e-9df7-c850dcdfefee",
"name": "domain-7.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-344"
],
"running_instances": 0,
"name": "name-342",
"production": false,
"space_guid": "9bc5ba71-e09e-4bda-a472-074dc0b7c6e7",
"stack_guid": "c4445f35-a154-4476-ba6a-11e8676bd504",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "b768943d-64a2-4c58-af35-d9767e4c1089",
"command": null,
"console": false,
"debug": null,
"staging_task_id": null,
"package_state": "PENDING",
"health_check_timeout": null,
"staging_failed_reason": null,
"docker_image": null,
"package_updated_at": "2014-11-13T23:38:17+00:00",
"detected_start_command": ""
}
],
"services": [
{
"guid": "16bfd8b8-be9f-40f0-afbf-ef477181b366",
"name": "name-344",
"bound_app_count": 1,
"dashboard_url": null,
"service_plan": {
"guid": "8bd19b68-9190-4d0f-ae48-2a6537305757",
"name": "name-345",
"service": {
"guid": "3e4b32d3-0a06-4c96-bf13-7d7ed19fcc3e",
"label": "label-1",
"provider": "provider-1",
"version": "version-1"
}
}
}
]
}