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.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzJ9.eMmpvRivGyTU6icyn2Jw97GFRbtLfKTQHQZ7IQ8wx4s
Host: example.org
Cookie: 

Route

GET /v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857

cURL

curl "https://api.[your-domain.com]/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzJ9.eMmpvRivGyTU6icyn2Jw97GFRbtLfKTQHQZ7IQ8wx4s" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a3968b95-8ef9-4adf-807b-3a685cdf3dbf
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "a00a9614-ff93-4707-8e85-c1175c979857",
    "url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857",
    "created_at": "2015-02-10T01:42:52Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1331",
    "organization_guid": "cce1a552-f4a9-4714-bda5-512e8d64d63b",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/cce1a552-f4a9-4714-bda5-512e8d64d63b",
    "developers_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/developers",
    "managers_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/managers",
    "auditors_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/auditors",
    "apps_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/apps",
    "routes_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/routes",
    "domains_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/domains",
    "service_instances_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/service_instances",
    "app_events_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/app_events",
    "events_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/events",
    "security_groups_url": "/v2/spaces/a00a9614-ff93-4707-8e85-c1175c979857/security_groups"
  }
}