Get Space summary
GET /v2/spaces/:guid/summary
Fields
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
|
|
|
|
Request
Headers
Route
GET /v2/spaces/a49fd628-8230-4b31-8797-7fef86737524/summary
cURL
curl "https://api.[your-domain.com]/v2/spaces/a49fd628-8230-4b31-8797-7fef86737524/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NiIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDR9.MGDPBjz4SIv0h3_lcjMwbXHZLN5oAtqzthkGlWZm9s0" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"guid": "a49fd628-8230-4b31-8797-7fef86737524",
"name": "name-892",
"apps": [
{
"guid": "4891698e-40e3-4462-8410-e38f543f8185",
"urls": [
"host-2.domain-33.example.com"
],
"routes": [
{
"guid": "395d6c7a-617b-43b8-9394-188653fcd5c8",
"host": "host-2",
"domain": {
"guid": "9b2b4ad8-0dcc-41c1-94df-ca52781185d2",
"name": "domain-33.example.com"
}
}
],
"service_count": 1,
"service_names": [
"name-897"
],
"running_instances": 0,
"name": "name-895",
"production": false,
"space_guid": "a49fd628-8230-4b31-8797-7fef86737524",
"stack_guid": "5a903918-698b-483a-8bd3-f763c2218b2d",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "abc16c25-d589-4982-b7cf-d1beeddbc2c0",
"command": null,
"console": false,
"debug": null,
"staging_task_id": null,
"package_state": "PENDING",
"health_check_timeout": null,
"staging_failed_reason": null,
"docker_image": null,
"package_updated_at": "2014-11-05T01:02:24+00:00",
"detected_start_command": ""
}
],
"services": [
{
"guid": "1188a4c8-7b08-4d63-a11b-372127ecd792",
"name": "name-897",
"bound_app_count": 1,
"dashboard_url": null,
"service_plan": {
"guid": "5090884a-35a2-4cc8-9b2d-94b921693102",
"name": "name-898",
"service": {
"guid": "5cb48e6f-7c1b-439a-a565-b87d739fa198",
"label": "label-54",
"provider": "provider-54",
"version": "version-38"
}
}
}
]
}