Get Space Info

📘

Use the hub_url received in the registration response as your base URL.

📘

This API requires the device to authenticate, see Device Authentication.

Get the latest device space information from the server.

After a device is updated, it should call the Update Device API with space_version set to the current version. This notifies the server that the device has processed the update and is in sync with the server.

Return Data

{
    "location": {
        "coordinates": {
            "lat": 51.165691,
            "lng": 10.451526
        },
        "utc_offset": 60,
        "name": "Germany"
    },
    "temperature_units": "celsius",
    "maintenance": false,
    "name": "Interactive Class",
    "local_time": "2022-03-17T10:55:28+01:00",
    "device_id": "fbe103c8-...",
}
KeySubkeySubkeyTypeDescriptionModel API Version
locationobjectNULL if not set1.0.1+
coordinatesobject1.0.1+
latfloatLatitude1.0.1+
longfloatLongitude1.0.1+
utc_offsetnumberOffset in minutes from UTC1.0.1+
namestringLocation's name1.0.1+
1.0.1+
temperature_unitsstringTemperature units for the space1.0.1+
maintenancebooleanIndicates whether the space is in maintenance mode1.0.1+
namestringSpace name1.0.1+
local_timedateLocal time of the space1.0.1+
device_idstringDevice ID1.0.7+
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!