Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/e99bc4fb-96e9-41ee-b5ee-2a69200b0777/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/e99bc4fb-96e9-41ee-b5ee-2a69200b0777/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ4fQ.yVvPYDbNs60NH9IZm0s0OC_77sFINpqveWn5UELFwKo" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "e99bc4fb-96e9-41ee-b5ee-2a69200b0777",
"name": "name-407",
"apps": [
{
"guid": "a9ebc86d-12ab-4d2f-9876-b29bc1e97a7a",
"urls": [
"host-13.domain-34.example.com"
],
"routes": [
{
"guid": "3702cec3-2999-4f66-b6b3-413d9babd507",
"host": "host-13",
"domain": {
"guid": "1d4941b6-4213-43e4-85fd-dab57d62a69f",
"name": "domain-34.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-412"
],
"running_instances": 0,
"name": "name-410",
"production": false,
"space_guid": "e99bc4fb-96e9-41ee-b5ee-2a69200b0777",
"stack_guid": "e6bb0f68-82ad-4f01-93c8-7439b9a3f0bf",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "7fd54aec-5897-4beb-ba2e-7ec23622c0ab",
"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,
"diego": false,
"docker_image": null,
"package_updated_at": "2015-06-16T23:40:48Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "e5e429de-3ba9-45bf-bfb8-44b5ee8a43d4",
"name": "name-412",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "2cb187d7-c697-47d3-a7e4-2282ebb416b2",
"name": "name-413",
"service": {
"guid": "79391c7f-ff48-434c-a2ef-74ff263902ba",
"label": "label-12",
"provider": null,
"version": null
}
}
}
]
}
Headers