Retrieve a Particular Space
GET /v2/spaces/:guid
Request
Route
GET /v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNyIsImVtYWlsIjoiZW1haWwtNzFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTM3NDYyN30.aQGKkaSLw-D-b3RRJZsmuqgjxFmyyWFihwh6jJ5za5I" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "a8c8ef7c-0528-400e-8c24-07d7e035c67f",
"url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f",
"created_at": "2016-04-16T01:23:47Z",
"updated_at": null
},
"entity": {
"name": "name-227",
"organization_guid": "3704b695-ccc9-4187-ba43-3ea17af5910f",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/3704b695-ccc9-4187-ba43-3ea17af5910f",
"developers_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/developers",
"managers_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/managers",
"auditors_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/auditors",
"apps_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/apps",
"routes_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/routes",
"domains_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/domains",
"service_instances_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/service_instances",
"app_events_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/app_events",
"events_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/events",
"security_groups_url": "/v2/spaces/a8c8ef7c-0528-400e-8c24-07d7e035c67f/security_groups"
}
}
Headers