Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/9846969e-648c-46a6-a824-20e5f2656be2/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/9846969e-648c-46a6-a824-20e5f2656be2/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MSIsImVtYWlsIjoiZW1haWwtMTU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTB9.q3gpdkNq2H14zDxWllhQIc-rxVx7C8BO91I7Dsi2rk0" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "9846969e-648c-46a6-a824-20e5f2656be2",
"name": "name-1586",
"apps": [
{
"guid": "608e1dcf-70d2-4d09-9dbf-35c4a3fd6e74",
"urls": [
"host-4.domain-25.example.com"
],
"routes": [
{
"guid": "24cf2610-de87-484d-bbb6-5d61045d6e86",
"host": "host-4",
"domain": {
"guid": "8640bd2c-e360-421b-8781-14fc908dc822",
"name": "domain-25.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-1591"
],
"running_instances": 0,
"name": "name-1589",
"production": false,
"space_guid": "9846969e-648c-46a6-a824-20e5f2656be2",
"stack_guid": "046839be-681e-40f1-b52c-ea847b4436c9",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "762d525e-854b-41f9-9c4f-c52f9d6b6118",
"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-06-04T00:05:10Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "f86dd00a-f79d-4a0a-87cd-b2ab64c63c9a",
"name": "name-1591",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "a83740fa-c507-4cd2-b2fe-34a2198acf23",
"name": "name-1592",
"service": {
"guid": "83505f0a-2642-4389-b355-09c2ef9bda43",
"label": "label-56",
"provider": null,
"version": null
}
}
}
]
}
Headers