Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/0b9ffb1e-1072-42c2-a8c7-c67a757ad0ab/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/0b9ffb1e-1072-42c2-a8c7-c67a757ad0ab/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OSIsImVtYWlsIjoiZW1haWwtMjI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTV9.uOdzEJznoc4LG5EQR1g-7YC2HKuQaMMmcm6yziinsT0" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "0b9ffb1e-1072-42c2-a8c7-c67a757ad0ab",
"name": "name-1959",
"apps": [
{
"guid": "2e3f4189-df2c-4ca4-89ab-d71d036d9b10",
"urls": [
"host-20.domain-58.example.com"
],
"routes": [
{
"guid": "17ce57e1-e61a-4661-9a6a-038eeb0237b5",
"host": "host-20",
"domain": {
"guid": "1a455d00-6b85-4ed6-a955-ddc37036a4e0",
"name": "domain-58.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-1964"
],
"running_instances": 0,
"name": "name-1962",
"production": false,
"space_guid": "0b9ffb1e-1072-42c2-a8c7-c67a757ad0ab",
"stack_guid": "98533fc3-4a60-4537-85b4-c25f23be3344",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "28851a20-66ed-46f9-a720-20a54e9124d4",
"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-05-21T01:03:15Z",
"detected_start_command": "",
"enable_ssh": true
}
],
"services": [
{
"guid": "cf75d302-4662-4820-ade7-0ee53c0f3326",
"name": "name-1964",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "69f47b93-1ec2-47d9-b84a-0c8428464430",
"name": "name-1965",
"service": {
"guid": "b9aa6c56-d7f3-4fe5-a841-0c15c4e475ae",
"label": "label-74",
"provider": null,
"version": null
}
}
}
]
}
Headers