Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/7d66e3c1-d28a-4aa1-9bb4-36d3ecc22f1d/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/7d66e3c1-d28a-4aa1-9bb4-36d3ecc22f1d/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDYzMn0.cXMpxdTBukl5KrHsSrITmVpkhMSC-Fos2DpceO3Ty1c" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "7d66e3c1-d28a-4aa1-9bb4-36d3ecc22f1d",
"name": "name-1",
"apps": [
{
"guid": "88ebb8d7-b3e3-42e0-974e-fee216ff5036",
"urls": [
"host-1.domain-1.example.com"
],
"routes": [
{
"guid": "9831892b-2384-4fb0-a81d-8744a85a4e8a",
"host": "host-1",
"domain": {
"guid": "4d49a2fc-aa8b-4bd7-bb09-d72b1be70873",
"name": "domain-1.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-6"
],
"running_instances": 0,
"name": "name-4",
"production": false,
"space_guid": "7d66e3c1-d28a-4aa1-9bb4-36d3ecc22f1d",
"stack_guid": "4b205d94-af8f-43f3-8c07-fd0ea6e48083",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "967b864c-bf43-477a-9d5b-b74ad468a8e2",
"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-09-30T23:30:32Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "365ff85b-968c-4dca-971c-8bd766c39ee1",
"name": "name-6",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "8b3bde19-6020-4787-b1a6-cb9f7b1daeb7",
"name": "name-7",
"service": {
"guid": "df13a46a-bc58-4ced-9a1e-68fd3e0b430e",
"label": "label-1",
"provider": null,
"version": null
}
}
}
]
}
Headers