Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/65d662ab-06d7-4b9d-8c3b-1dca0431d3e7/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/65d662ab-06d7-4b9d-8c3b-1dca0431d3e7/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MCIsImVtYWlsIjoiZW1haWwtMjYyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1MzR9.B7QMA84y9fxi-q6gOUgdqNFnKd-vaw5zf8BbxPwb7lg" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "65d662ab-06d7-4b9d-8c3b-1dca0431d3e7",
"name": "name-2329",
"apps": [
{
"guid": "cf4cfaf3-5d7c-472a-9210-605de5fadaaf",
"urls": [
"host-14.domain-53.example.com"
],
"routes": [
{
"guid": "b11a923f-a455-4fe8-945d-e9d287277897",
"host": "host-14",
"domain": {
"guid": "8ec5bcbe-abec-43f4-b651-7d364352d5e5",
"name": "domain-53.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-2334"
],
"running_instances": 0,
"name": "name-2332",
"production": false,
"space_guid": "65d662ab-06d7-4b9d-8c3b-1dca0431d3e7",
"stack_guid": "6969e03b-68f1-4190-b39a-8a852454883f",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "dff49824-61f1-4b6a-9133-4ee6baaef0d6",
"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": "2015-11-30T23:38:54Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null
}
],
"services": [
{
"guid": "b8dafba0-ae33-4e7e-8526-429f721e6b81",
"name": "name-2334",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "72e7f61b-5143-468e-bfe9-6f58f705236b",
"name": "name-2335",
"service": {
"guid": "b44fe445-9945-49b9-8580-b4dd90eefd0d",
"label": "label-74",
"provider": null,
"version": null
}
}
}
]
}
Headers