📘

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"
}
KeySubkeySubkeyTypeDescription
locationobjectNULL if not set
coordinatesobject
latfloatLatitude
longfloatLongitude
utc_offsetnumberOffset in minutes from UTC
namestringLocation's name
temperature_unitsstringTemperature units for the space
maintenancebooleanIndicates whether the space is in maintenance mode
namestringSpace name
local_timedateLocal time of the space
Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!