get
https://hub.xyte.io/core/v1/organization/spaces/
Get one space
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Authorization
This endpoint requires Authorization.
Response
Returns one space. The format is the same as one item of Get Spaces, without path.
| Key | Type | Description |
|---|---|---|
| id | Integer | Unique identifier for the space. |
| name | String | Name of the space. |
| parent_id | Integer | Unique identifier for the parent space. |
| config | Object | Configuration settings for the space. See Get Spaces. |
| space_type | String | root / customer / unprovisioned_customer / room |
| created_at | Datetime | Creation timestamp. |
| maintenance | Object | Manual and scheduled maintenance state of the space. |
| room_status | String | Room status the portal Rooms list shows. See Room status. |
| room_status_updated_at | Datetime | When the room status last changed. See Room status. |
| is_vip | Boolean | The room is marked VIP. |
Room status
room_status: the room status the portal Rooms list shows. One ofno_devices(Empty),maintenance_mode(Maintenance),error(Error),warning(Warning),unknown(Unknown) orhealthy(Healthy).room_status_updated_at: when the room status last changed. It can also change when the status of the room's devices changes butroom_statusstays the same.is_vip:truewhen the room is marked VIP.
For a space with child spaces, room_status is null, is_vip is normally false and room_status_updated_at is normally null. Unsorted and Unprovisioned spaces are not rooms in the portal. Their room_status may be null or a status the Rooms list doesn't show.
Errors
- 401: missing or invalid API key.
- 404
{ "error": "Space not found" }: no space with this ID in your organization.
