Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/01a9e959-5058-4ed4-98ad-8946e38ea918/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/01a9e959-5058-4ed4-98ad-8946e38ea918/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1OCIsImVtYWlsIjoiZW1haWwtMjYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MjF9.ZV0lR9fj_d4NeKkMgEAsDX6FlyHjkxkyNOzUzkc23H8" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "01a9e959-5058-4ed4-98ad-8946e38ea918",
"name": "name-2039",
"apps": [
{
"guid": "e7d934ce-6b48-4d7e-b160-dcede374e1aa",
"urls": [
"host-19.domain-48.example.com"
],
"routes": [
{
"guid": "da8ceba1-aec1-4510-9614-a166367503b2",
"host": "host-19",
"domain": {
"guid": "9065f88a-7868-4a3c-9b23-80d50cc693a2",
"name": "domain-48.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-2044"
],
"running_instances": 0,
"name": "name-2042",
"production": false,
"space_guid": "01a9e959-5058-4ed4-98ad-8946e38ea918",
"stack_guid": "e2f5dfec-46e9-42f9-8fa7-1369f4359516",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "329d1015-7017-436d-8a9c-df2a1c526d74",
"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-10T23:12:01Z",
"detected_start_command": ""
}
],
"services": [
{
"guid": "461a5393-6c65-458a-9e1f-6e780a85c25d",
"name": "name-2044",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "1181d68b-6f99-40c9-b129-8bbdca7ed940",
"name": "name-2045",
"service": {
"guid": "c46e3403-74d2-4425-98b8-91c6a3e1aeb6",
"label": "label-53",
"provider": null,
"version": null
}
}
}
]
}
Headers