Get Space summary
GET /v2/spaces/:guid/summary
Request
Route
GET /v2/spaces/a182f26e-0082-4217-9653-c8589950946f/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/a182f26e-0082-4217-9653-c8589950946f/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMSIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzV9.RnXE3O_18kWm4686dJDgPHKRGTHUxFqo9_5U1A9iDXY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "a182f26e-0082-4217-9653-c8589950946f",
"name": "name-638",
"apps": [
{
"guid": "024a633c-23b2-4fb9-acd4-802abb3c1966",
"urls": [
"host-9.domain-37.example.com"
],
"routes": [
{
"guid": "8944a10f-d4a4-4c4c-b700-3e1a9c14414b",
"host": "host-9",
"domain": {
"guid": "da27951f-c245-4c99-82fc-b641b4650e08",
"name": "domain-37.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-643"
],
"running_instances": 0,
"name": "name-641",
"production": false,
"space_guid": "a182f26e-0082-4217-9653-c8589950946f",
"stack_guid": "933c7cf3-fae8-4f9e-9c8b-b51cd2a19e50",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "761b7535-dd8e-4d54-87f0-61e6ffeb9d5c",
"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-11T18:38:55Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
}
}
],
"services": [
{
"guid": "047d405a-d732-49e5-8d02-24ed77f9902d",
"name": "name-643",
"bound_app_count": 1,
"last_operation": null,
"dashboard_url": null,
"service_plan": {
"guid": "0bde9d01-c11a-4508-9d9a-49b9e04cc3b2",
"name": "name-644",
"service": {
"guid": "e315177c-9b9c-4714-8d93-51a86613747a",
"label": "label-33",
"provider": null,
"version": null
}
}
}
]
}
Headers