Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/4e09ef7a-e9ac-4996-9204-c2c91df81492/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/4e09ef7a-e9ac-4996-9204-c2c91df81492/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNyIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2ODJ9.D6_dGmxy6XwGb6BvdE_PNpwv9vhxkbRf0KLyHlXqNSw" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "4e09ef7a-e9ac-4996-9204-c2c91df81492",
"name": "name-1151",
"apps": [
{
"guid": "65007381-22fb-498c-9092-efe57e95f705",
"urls": [
"host-31.domain-54.example.com"
],
"routes": [
{
"guid": "26fea1ab-575b-4d2d-83cd-52d636856097",
"host": "host-31",
"path": "",
"domain": {
"guid": "4c48f663-c214-4868-a4d0-7bfa406f5024",
"name": "domain-54.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-1154"
],
"running_instances": 0,
"name": "name-1157",
"production": false,
"space_guid": "4e09ef7a-e9ac-4996-9204-c2c91df81492",
"stack_guid": "6ac3b3e5-1e4c-4778-b839-d8226613394a",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "7c101034-8160-4ad0-8997-866149111b96",
"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": "2016-03-17T21:41:22Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null
}
],
"services": [
{
"guid": "9b1f961a-4976-4c5b-aee4-791c8dbd9809",
"name": "name-1154",
"bound_app_count": 1,
"last_operation": {
"type": "create",
"state": "succeeded",
"description": "description goes here",
"updated_at": "2016-03-17T21:41:22Z",
"created_at": "2016-03-17T21:41:22Z"
},
"dashboard_url": null,
"service_plan": {
"guid": "61b9ee84-2309-4547-a008-e6819ba8d3c2",
"name": "name-1155",
"service": {
"guid": "e2b7e6c2-5735-4ca5-acdd-e70898a8e6b1",
"label": "label-43",
"provider": null,
"version": null
}
}
}
]
}
Headers