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.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MyIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTF9.vx-ZZup_oRUbyp_Gl88tuiuQqxAzt9dOYhXz9OjKCP0
Host: example.org
Cookie: 

Route

GET /v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad

cURL

curl "https://api.[your-domain.com]/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MyIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTF9.vx-ZZup_oRUbyp_Gl88tuiuQqxAzt9dOYhXz9OjKCP0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8ca8161d-1a6c-4e94-8a05-a56454c2a899
Content-Length: 1260
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "e27de53b-e6c9-40b5-8536-85932f5bacad",
    "url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad",
    "created_at": "2015-01-20T01:52:30+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1814",
    "organization_guid": "aacb3b35-a911-47bd-a25e-ac4d91409be4",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/aacb3b35-a911-47bd-a25e-ac4d91409be4",
    "developers_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/developers",
    "managers_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/managers",
    "auditors_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/auditors",
    "apps_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/apps",
    "routes_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/routes",
    "domains_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/domains",
    "service_instances_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/service_instances",
    "app_events_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/app_events",
    "events_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/events",
    "security_groups_url": "/v2/spaces/e27de53b-e6c9-40b5-8536-85932f5bacad/security_groups"
  }
}