get https://hub.xyte.io/core/v1/organization/spaces
Retrieve Information about your organization's spaces.
Authorization
This endpoint requires Authorization.
Response
Returns Paginated data of the following format for each item:
Key | Subkey | 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. | |
img | String | URL of an image associated with the space. | |
location | Object | Location information for the space. See Location table. | |
priority_factor | Integer | Priority factor for events related to the space.-1: High Priority , 0: No Change , 1: Low Priority | |
inherit_location | Boolean | Flag indicating whether location should be inherited from the parent space. | |
temperature_ units | String | Units for temperature measurement. Celsius , Fahrenheit | |
inherit_priority_factor | Boolean | Flag indicating whether priority factor should be inherited from the parent space. | |
inherit_temperature_units | Boolean | Flag indicating whether temperature units should be inherited from the parent space. |
Location
Key | Subkey | Type | Description |
---|---|---|---|
location | Object | Geospatial coordinates of the space. | |
lat | Float | Latitude coordinate of the space. | |
lng | Float | Longitude coordinate of the space. | |
utc_offset | Integer | UTC offset in minutes. | |
description | String | Description of the location. | |
region_ name | String | IANA Time Zone database region name. |