Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/8ed2e4a6-929a-4508-a5c1-59b4d97fe01a/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/8ed2e4a6-929a-4508-a5c1-59b4d97fe01a/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MSIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODF9.DFCAWlFZnEBFaHS3RFJeugbO5aXWte1wOH8rr3AJoOw" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "8ed2e4a6-929a-4508-a5c1-59b4d97fe01a",
"name": "name-2288",
"apps": [
{
"guid": "9b8d4278-1f86-4266-89b4-77a0baf321c7",
"urls": [
"host-27.domain-52.example.com"
],
"routes": [
{
"guid": "3543db8e-4fda-43d0-b23b-8fa711cf19ba",
"host": "host-27",
"domain": {
"guid": "79ac42a9-caa6-45e4-9246-94ca90d45b23",
"name": "domain-52.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-2293"
],
"running_instances": 0,
"name": "name-2291",
"production": false,
"space_guid": "8ed2e4a6-929a-4508-a5c1-59b4d97fe01a",
"stack_guid": "40a225ec-562e-4216-9373-b785d218a366",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "5052c804-9c71-4164-b873-8deb62f19244",
"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,
"staging_failed_description": null,
"diego": false,
"docker_image": null,
"package_updated_at": "2016-01-19T19:41:21Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null
}
],
"services": [
{
"guid": "c4ae0b2f-d998-4df0-a4cd-da9ef8edc32c",
"name": "name-2293",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "dde36898-2241-4546-9bd3-fd29866821f2",
"name": "name-2294",
"service": {
"guid": "c42da39d-68ed-41e2-a831-029c889bffd6",
"label": "label-62",
"provider": null,
"version": null
}
}
}
]
}
Headers