Home
Version 3
Spaces API

Spaces API

Retrieve a Particular Space

GET /v2/spaces/:guid

Request

Route

GET /v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc1IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ5NTMxNTA5fQ.lOKhKbDULUCvR3HGPZVncWQNQGCIT3pMdhm8BfYLxJo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc1IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ5NTMxNTA5fQ.lOKhKbDULUCvR3HGPZVncWQNQGCIT3pMdhm8BfYLxJo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fa60bc0f-a19e-473a-91bd-4522ab2c25d3",
    "url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3",
    "created_at": "2015-11-30T23:38:29Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-147",
    "organization_guid": "8cc1eecf-2278-4f70-ade6-6062c7c83148",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/8cc1eecf-2278-4f70-ade6-6062c7c83148",
    "developers_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/developers",
    "managers_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/managers",
    "auditors_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/auditors",
    "apps_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/apps",
    "routes_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/routes",
    "domains_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/domains",
    "service_instances_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/service_instances",
    "app_events_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/app_events",
    "events_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/events",
    "security_groups_url": "/v2/spaces/fa60bc0f-a19e-473a-91bd-4522ab2c25d3/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 1277
X-Content-Type-Options: nosniff