Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/87c930cd-83a4-4e64-9d09-1bc89797c0db/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/87c930cd-83a4-4e64-9d09-1bc89797c0db/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4OSIsImVtYWlsIjoiZW1haWwtMjc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTd9.P7-C3VQQ9t1MMYaOVbBQgJX-7z8YbysOhHuLTfcuKG0" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "87c930cd-83a4-4e64-9d09-1bc89797c0db",
"name": "name-2339",
"apps": [
{
"guid": "87cc8445-f99f-4b10-8595-0bce9d00220b",
"urls": [
"host-26.domain-51.example.com"
],
"routes": [
{
"guid": "2353eaaf-eb2c-441b-9341-d072f868108d",
"host": "host-26",
"domain": {
"guid": "84f76cf8-9f67-403c-a1aa-dd1e980056ae",
"name": "domain-51.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-2344"
],
"running_instances": 0,
"name": "name-2342",
"production": false,
"space_guid": "87c930cd-83a4-4e64-9d09-1bc89797c0db",
"stack_guid": "df96755e-5478-4d5a-b523-ac3fab531bb9",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "6c20e78b-d85b-49c5-8162-47d5e6a1bd7f",
"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-08-31T21:50:17Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "d24c0c13-a5ae-48b6-a7ec-841a4f1a3ae0",
"name": "name-2344",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "29ee6f0d-9803-425d-85c6-5ddae01a131d",
"name": "name-2345",
"service": {
"guid": "47aa088e-5b5d-445c-9979-4364582e2b18",
"label": "label-97",
"provider": null,
"version": null
}
}
}
]
}
Headers