Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/80f41e42-8564-49cb-9ae7-03e33dc3cd4d/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/80f41e42-8564-49cb-9ae7-03e33dc3cd4d/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MiIsImVtYWlsIjoiZW1haWwtMjkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTJ9._7Oaey4RtE_7g3ddq2Cu48h0db9m3mE-Ot8ugWk-r7U" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "80f41e42-8564-49cb-9ae7-03e33dc3cd4d",
"name": "name-2122",
"apps": [
{
"guid": "62a52260-2c4e-4976-8db0-9b23220a0f95",
"urls": [
"host-25.domain-69.example.com"
],
"routes": [
{
"guid": "8b5084b1-2a81-44a9-a1b7-9a8d45eb94ea",
"host": "host-25",
"domain": {
"guid": "4fa70229-b7f3-4126-aece-60cdc456580e",
"name": "domain-69.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-2127"
],
"running_instances": 0,
"name": "name-2125",
"production": false,
"space_guid": "80f41e42-8564-49cb-9ae7-03e33dc3cd4d",
"stack_guid": "bfc1ec2d-bd01-4c8b-8207-b73cb50f789a",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "a7110635-33d3-4ae0-b5f6-34e73befdc76",
"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-15T00:55:52Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "098c564c-4455-4cda-8b1f-1a2040ff0c9e",
"name": "name-2127",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "baf9df39-f216-47ab-b8b5-365110d36fd1",
"name": "name-2128",
"service": {
"guid": "865eed92-fa99-4ce6-96bf-98ce4f62b5f0",
"label": "label-88",
"provider": null,
"version": null
}
}
}
]
}
Headers