Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/0b79a95d-8c17-42f6-8d58-77df7d3e2111/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/0b79a95d-8c17-42f6-8d58-77df7d3e2111/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyMSIsImVtYWlsIjoiZW1haWwtMzE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NTR9.MO15tEPM7XXxtjvYeoAKZCWkG-TO_fNflqppsjwMg10" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "0b79a95d-8c17-42f6-8d58-77df7d3e2111",
"name": "name-2529",
"apps": [
{
"guid": "98f18814-21f9-487c-b628-78ccc047c768",
"urls": [
"host-34.domain-83.example.com"
],
"routes": [
{
"guid": "e910180f-aa3e-4602-ba13-beb4a4fd03ac",
"host": "host-34",
"path": "",
"domain": {
"guid": "f0e142c8-e40e-4c57-958d-efa10e3246a6",
"name": "domain-83.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-2532"
],
"running_instances": 0,
"name": "name-2535",
"production": false,
"space_guid": "0b79a95d-8c17-42f6-8d58-77df7d3e2111",
"stack_guid": "68c4e774-5fe0-4466-aac7-23d60e4d297f",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "760445b4-29b7-4f08-82e1-0b7cdeeb3a20",
"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-14T22:30:54Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null
}
],
"services": [
{
"guid": "773f1a13-4e5f-4573-89bd-c7219f56b865",
"name": "name-2532",
"bound_app_count": 1,
"last_operation": {
"type": "create",
"state": "succeeded",
"description": "description goes here",
"updated_at": "2016-03-14T22:30:54Z",
"created_at": "2016-03-14T22:30:54Z"
},
"dashboard_url": null,
"service_plan": {
"guid": "4d6c103e-050e-491b-8657-f6eba68735c3",
"name": "name-2533",
"service": {
"guid": "427cb25d-bd9a-406d-b54c-d613db75fb45",
"label": "label-76",
"provider": null,
"version": null
}
}
}
]
}
Headers