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/e937dd09-87db-4b4d-8f51-934363d84257/summary
cURL
curl "https://api.[your-domain.com]/v2/spaces/e937dd09-87db-4b4d-8f51-934363d84257/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzOSIsImVtYWlsIjoiZW1haWwtMjQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzZ9.rNYlOYRS7ym9PhTd8cLA5qUrDT0JWhw33jvYpAe8VwI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"guid": "e937dd09-87db-4b4d-8f51-934363d84257",
"name": "name-1634",
"apps": [
{
"guid": "15780c17-d0ab-4b1e-84cc-4978c63daf54",
"urls": [
"host-14.domain-51.example.com"
],
"routes": [
{
"guid": "4e3c378c-14b7-4733-9d19-ceaadb1065ac",
"host": "host-14",
"domain": {
"guid": "c28f0cfd-124a-4fa2-87ec-404821b4fc48",
"name": "domain-51.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-1639"
],
"running_instances": 0,
"name": "name-1637",
"production": false,
"space_guid": "e937dd09-87db-4b4d-8f51-934363d84257",
"stack_guid": "e241f4e1-8d69-4cea-a953-79db11c4cba3",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "9bc030f0-daef-437e-a7ae-a38c7db7e50b",
"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-10T01:42:56Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "4e0d8f5a-2746-4471-a2a8-716a9c87d6cf",
"name": "name-1639",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "56fbd43f-0a46-4d53-bc51-55a37d5a7013",
"name": "name-1640",
"service": {
"guid": "6fee5fe6-56ca-4978-87f5-b962e7e02105",
"label": "label-62",
"provider": null,
"version": null
}
}
}
]
}