Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/cd1e12c7-0e76-44a4-a082-ba0a298bb2f7/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/cd1e12c7-0e76-44a4-a082-ba0a298bb2f7/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0zN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4Njk5fQ.KZYhSOGYsWxndASfm-vTi8pY93NgfuFkJdrOUIrHpwM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "cd1e12c7-0e76-44a4-a082-ba0a298bb2f7",
"name": "name-148",
"apps": [
{
"guid": "59bbfe7c-b362-4e10-9bd6-a7de97ff7800",
"urls": [
"host-3.domain-3.example.com"
],
"routes": [
{
"guid": "6e03667b-57b4-4d54-b307-515508766e3a",
"host": "host-3",
"domain": {
"guid": "ba83dae7-3944-47ab-9a56-3fe78822f523",
"name": "domain-3.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-153"
],
"running_instances": 0,
"name": "name-151",
"production": false,
"space_guid": "cd1e12c7-0e76-44a4-a082-ba0a298bb2f7",
"stack_guid": "fed2cdc2-3594-4458-a082-c851c18b1bb8",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "ccd65f21-dd62-4c4a-a67e-18b9a37d50ce",
"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-04-07T19:11:39Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "11e9a198-cb14-4450-89c2-f03d02238251",
"name": "name-153",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "c0d89528-c51a-42b2-84ae-debf146b2410",
"name": "name-154",
"service": {
"guid": "73942c55-bb0c-4b37-8c2e-8dbe5094e0a4",
"label": "label-13",
"provider": null,
"version": null
}
}
}
]
}
Headers