Home
Version 3
Spaces API

Spaces API

Retrieve a Particular Space

GET /v2/spaces/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Space

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMiIsImVtYWlsIjoiZW1haWwtMjUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODR9.Yac7mYLQ-2Il_LcHrvLxSHpq7JDaQF1JWPgJRL5Aaoo
Host: example.org
Cookie: 

Route

GET /v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956

cURL

curl "https://api.[your-domain.com]/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMiIsImVtYWlsIjoiZW1haWwtMjUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODR9.Yac7mYLQ-2Il_LcHrvLxSHpq7JDaQF1JWPgJRL5Aaoo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 602c2dc6-c399-490d-bf3f-6f0ed4da5010
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956",
    "url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956",
    "created_at": "2015-01-27T19:14:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1942",
    "organization_guid": "b49a28d2-bddb-4a46-bd99-35df3a429d68",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/b49a28d2-bddb-4a46-bd99-35df3a429d68",
    "developers_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/developers",
    "managers_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/managers",
    "auditors_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/auditors",
    "apps_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/apps",
    "routes_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/routes",
    "domains_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/domains",
    "service_instances_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/service_instances",
    "app_events_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/app_events",
    "events_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/events",
    "security_groups_url": "/v2/spaces/51fd7ae0-5f86-4e8d-9499-2f3ac7f6a956/security_groups"
  }
}