Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/f9c44c5c-9613-40b2-9296-e156c661a0ba/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/f9c44c5c-9613-40b2-9296-e156c661a0ba/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMyIsImVtYWlsIjoiZW1haWwtMTU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE3OTl9.DfC407F461b6JLUiKTdvY0T8T9PwSFV9VN_O464B3eM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "f9c44c5c-9613-40b2-9296-e156c661a0ba",
"name": "name-649",
"apps": [
{
"guid": "e1efe0a2-a931-4604-a419-f76dbe23ad76",
"urls": [
"host-11.domain-48.example.com"
],
"routes": [
{
"guid": "3445e88d-adda-4255-9b9d-6f701fb0de17",
"host": "host-11",
"domain": {
"guid": "af154090-baca-4805-a8a2-9db93a16a84b",
"name": "domain-48.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-654"
],
"running_instances": 0,
"name": "name-652",
"production": false,
"space_guid": "f9c44c5c-9613-40b2-9296-e156c661a0ba",
"stack_guid": "01a9ea88-1028-4d1a-a8ee-d1acc686815c",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "6505d60e-2a6f-475c-8c1d-85c66139447e",
"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-07-27T22:43:19Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "83e3713f-5f9b-4168-a43c-02cc66493cc0",
"name": "name-654",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "67bd9226-6d63-48ac-9114-a756a01bff7c",
"name": "name-655",
"service": {
"guid": "64ce598e-0c24-4dba-bfa1-594187db7404",
"label": "label-23",
"provider": null,
"version": null
}
}
}
]
}
Headers