Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/8a1a9bb4-07fc-4d84-874e-357e385a6673/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/8a1a9bb4-07fc-4d84-874e-357e385a6673/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc5IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTIyfQ.sRgfrsDbzfXH27V6THPpo234AdzLajkV7aJMBbsjayE" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "8a1a9bb4-07fc-4d84-874e-357e385a6673",
"name": "name-174",
"apps": [
{
"guid": "357b688c-ff70-4c14-88ea-3e7398cd563b",
"urls": [
"host-2.domain-2.example.com"
],
"routes": [
{
"guid": "a4df534a-a3f8-4bcf-b8ef-0df960888582",
"host": "host-2",
"domain": {
"guid": "82b6cd64-2d0e-43d7-af6d-ccb6062d700b",
"name": "domain-2.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-179"
],
"running_instances": 0,
"name": "name-177",
"production": false,
"space_guid": "8a1a9bb4-07fc-4d84-874e-357e385a6673",
"stack_guid": "f179a821-7ee9-436e-a4d4-9a4fcb44703c",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "32170a1a-b4a5-4100-8ddd-1edac3e2d216",
"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-10-07T00:35:22Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "ae455362-3c0e-446a-b42a-3a4f00e6abd2",
"name": "name-179",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "6857704a-4f65-4971-b8a2-8d8c261d884e",
"name": "name-180",
"service": {
"guid": "c619a06f-d4ac-4c18-aea7-5cddfe54fe8e",
"label": "label-11",
"provider": null,
"version": null
}
}
}
]
}
Headers