{"_id":"551c056aefc11923006421e8","version":{"_id":"5435693035740020002a1c1f","__v":15,"project":"5435693035740020002a1c1c","createdAt":"2014-10-08T16:41:20.702Z","releaseDate":"2014-10-08T16:41:20.702Z","categories":["5435693035740020002a1c20","551c03c1ff892b3700d1c57a","551ca3927405910d00900a59","551cac6448564a2f0024d89e","551cb4d848564a2f0024d8a3","551cb52db7a32b3b00d1ef78","5526e2064a7ac121004c6073","5526e5147d4a4417009516b3","5526e9877d4a4417009516bb","5528362cd9e1db2d00cd924d","5580240ebe698419008f2ba2","5580a7dabe698419008f2db6","568161799de23c0d00c54750","5866c905a2cbb31900f6f1aa","5bfc066d8342500013783e0c"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"githubsync":"","editedParams2":true,"user":"543569cd35740020002a1c2d","editedParams":true,"parentDoc":null,"project":"5435693035740020002a1c1c","__v":5,"category":{"_id":"551c03c1ff892b3700d1c57a","pages":["551c056aefc11923006421e8","551c0b2befc11923006421f3","551c0ce223a1ee190034d0ff","551ca30f7405910d00900a57","551ca412b7a32b3b00d1ef69","551ca4e335f9812f008ccd31","551cac0d35f9812f008ccd38","551cae3bd65a6d19007a8e6a","551caef7b7a32b3b00d1ef70","551cb06448564a2f0024d8a0","551cb24435f9812f008ccd3c","551cb2a8d65a6d19007a8e75","551cb4cfb7a32b3b00d1ef76","552926c5ceedaa0d00bc5c71"],"version":"5435693035740020002a1c1f","__v":14,"project":"5435693035740020002a1c1c","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-04-01T14:42:09.907Z","from_sync":false,"order":7,"slug":"spaces","title":"Spaces"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-01T14:49:14.651Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"GET /v1.0/spaces/48?include=space_amenities HTTP/1.1\nHost: api.robinpowered.com\nContent-Type: application/json\nAuthorization: Access-Token :accessToken","language":"http"}]},"method":"get","results":{"codes":[{"name":"","code":"{\n  \"meta\": {\n    \"status_code\": 200,\n    \"status\": \"OK\",\n    \"message\": \"\",\n    \"more_info\": {}\n  },\n  \"data\": {\n    \"id\": 48,\n    \"location_id\": 10,\n    \"name\": \"Conference Room\",\n    \"description\": \"If you experience problems with the WiFi, please make sure you are connected to the 5G network.\\n\\nGoogle Hangouts is preferred screensharing method for this room\",\n    \"image\": \"https://static.robinpowered.com/reimagine/images/814612b0d8297f601365d7b9db4ea501a5dc7896.jpg\",\n    \"discovery_radius\": 1.5,\n    \"capacity\": 8,\n    \"type\": \"conference\",\n    \"is_accessible\": false,\n    \"is_disabled\": false,\n    \"updated_at\": \"2016-11-08T23:23:18+0000\",\n    \"created_at\": \"2014-09-04T20:41:59+0000\",\n    \"location\": {\n      // location submodel\n    },\n    \"space_amenities\": [\n      {\n        \"space_id\": 48,\n        \"amenity_id\": 3,\n        \"quantity\": 1,\n        \"amenity\": {\n          \"id\": 3,\n          \"account_id\": null,\n          \"name\": \"Phone\",\n          \"owner_types\": [\n            \"space\",\n            \"seat\"\n          ],\n          \"created_at\": \"2015-12-11T19:41:32+0000\",\n          \"updated_at\": \"2018-03-10T14:13:32+0000\"\n        }\n      },\n      {\n        \"space_id\": 48,\n        \"amenity_id\": 2,\n        \"quantity\": 1,\n        \"amenity\": {\n          \"id\": 2,\n          \"account_id\": null,\n          \"name\": \"Google Chromecast\",\n          \"owner_types\": [\n            \"space\"\n          ],\n          \"created_at\": \"2015-12-11T19:41:32+0000\",\n          \"updated_at\": \"2017-04-03T22:39:01+0000\"\n        }\n      }\n    ]\n  }\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"551c07da23a1ee190034d0f7","ref":"","in":"path","required":true,"desc":"The ID of the space to return","default":"","type":"int","name":"id"},{"_id":"5866bce48381732d00cc08dc","ref":"","in":"query","required":false,"desc":"Optional submodel includes, such as `calendar` or `space_amenities`.","default":"","type":"string","name":"include"}],"url":"/spaces/:id"},"isReference":true,"order":0,"body":"Returns a [Space](doc:space) resource, containing information about the space. This includes information such as the space's name and description, but also embeds its parent Location resource as well as Event resource for upcoming and current events schedules for the space.\n\nYou can optionally include a space's calendar in the response via `/spaces/:id?include=calendar`","excerpt":"Get details about a space","slug":"get-space","type":"endpoint","title":"/spaces/:id"}

get/spaces/:id

Get details about a space

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
integer
The ID of the space to return

Query Params

include:
string
Optional submodel includes, such as `calendar` or `space_amenities`.

Examples


Result Format


Documentation

Returns a [Space](doc:space) resource, containing information about the space. This includes information such as the space's name and description, but also embeds its parent Location resource as well as Event resource for upcoming and current events schedules for the space. You can optionally include a space's calendar in the response via `/spaces/:id?include=calendar`

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}