Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/1b408f8e-0cd4-4d2a-8fc4-d78a61d9c13b/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/1b408f8e-0cd4-4d2a-8fc4-d78a61d9c13b/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDh9.0-MBafUUI6bcTariK1HMxQtb2WejFTlOnb8U4wzfAOM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "1b408f8e-0cd4-4d2a-8fc4-d78a61d9c13b",
"name": "name-669",
"apps": [
{
"guid": "ce7250b2-7e96-4c68-9843-89e47fed95ef",
"urls": [
"host-12.domain-41.example.com"
],
"routes": [
{
"guid": "b1f5d93b-5ccb-4e78-8ca7-dc9ff230f0bc",
"host": "host-12",
"domain": {
"guid": "613e6334-270d-4f5f-a5fb-69f016fdd902",
"name": "domain-41.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-674"
],
"running_instances": 0,
"name": "name-672",
"production": false,
"space_guid": "1b408f8e-0cd4-4d2a-8fc4-d78a61d9c13b",
"stack_guid": "512a1deb-fb5b-4483-a34f-93905993604d",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "920c4c85-d68f-4fbd-97ff-cd010cb7caaa",
"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-05T19:15:48Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "2ad8a407-7556-4101-ac05-3f58e9149dca",
"name": "name-674",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "f37b0a44-647c-4ee9-bf80-30d4dfb9aa73",
"name": "name-675",
"service": {
"guid": "ddcc05e2-5efc-42b2-a911-933f400108c3",
"label": "label-36",
"provider": null,
"version": null
}
}
}
]
}
Headers