Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/efd47498-f483-4e92-a4e3-589e5b833fb9/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/efd47498-f483-4e92-a4e3-589e5b833fb9/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMCIsImVtYWlsIjoiZW1haWwtMjQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NzR9.n2autRIiZC1bjbdbWKi2vrg9RwCO8S3sPozWoYaXc44" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "efd47498-f483-4e92-a4e3-589e5b833fb9",
"name": "name-1173",
"apps": [
{
"guid": "63bb2cee-36e3-4805-b5ae-dc4563d4d131",
"urls": [
"host-21.domain-65.example.com"
],
"routes": [
{
"guid": "b80dd31f-59ff-46cd-86ed-4c5a73013302",
"host": "host-21",
"domain": {
"guid": "5c83309d-aeb2-4661-b538-782254ab9bc6",
"name": "domain-65.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-1178"
],
"running_instances": 0,
"name": "name-1176",
"production": false,
"space_guid": "efd47498-f483-4e92-a4e3-589e5b833fb9",
"stack_guid": "cfbc2e11-2a4c-4d7a-9a8a-de051b59559d",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "04527102-c615-4d07-ad3d-9c148da95676",
"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-03-18T22:52:54Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "a7359473-a427-40c0-bb6c-639b2ef9f458",
"name": "name-1178",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "a28447b5-9959-455f-8f25-31da7091e238",
"name": "name-1179",
"service": {
"guid": "822d25fe-fa50-40bf-99cc-7a6a0eb285ef",
"label": "label-55",
"provider": null,
"version": null
}
}
}
]
}
Headers