Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/f9cd08db-4772-492b-b536-8d17b3ddbb69/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/f9cd08db-4772-492b-b536-8d17b3ddbb69/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NSIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTJ9.Zcqf3raiLmsJmuTtPvdE6jEQCLrPx2zGFT6Y8HJKHNE" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "f9cd08db-4772-492b-b536-8d17b3ddbb69",
"name": "name-2077",
"apps": [
{
"guid": "7dedd58f-c4d1-4063-bd09-832a82c89ac5",
"urls": [
"host-14.domain-33.example.com"
],
"routes": [
{
"guid": "be8ec78f-799a-4146-aa32-7e70a1f27350",
"host": "host-14",
"domain": {
"guid": "c7201ff6-f06b-4438-a790-26c0c0c4ebed",
"name": "domain-33.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-2082"
],
"running_instances": 0,
"name": "name-2080",
"production": false,
"space_guid": "f9cd08db-4772-492b-b536-8d17b3ddbb69",
"stack_guid": "ce80a2db-82fb-4e4c-add8-7c327b8755d5",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "0d958ceb-8c1a-435c-bbe8-69c7147699aa",
"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-06T00:36:52Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "87e5c3d3-10e9-40bf-a224-ce020fd9c390",
"name": "name-2082",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "d711313c-443c-469b-a6ff-a53eef5f3ab0",
"name": "name-2083",
"service": {
"guid": "77e37d87-1c0b-46f9-90ad-355e5fb81b1d",
"label": "label-69",
"provider": null,
"version": null
}
}
}
]
}
Headers