IoT Stadium

API Documentation

Telemetry

Telemetry - Update Device (MQTT/BLE/HTTP/LoRa)

Updating a device that uses MQTT, BLE, HTTP, or LoRa protocol

Put
https://api.iotstadium.com/ext/devices/:id

Parameter

Field Type Description
id Number

The ID of the device that you want to update

{
    "message": "device updated",
    "data": {
        "id": 592
    },
    "code": 200
}
{
    "message": "Invalid Message",
    "code": 400,
    "errors": [
        {
            "field": "hardware_id",
            "message": "hardware_id already registered on device id 600"
        }
    ]
}                                                
{
    "message": "data not found",
    "errors": [
        {
            "message": "data not found",
            "field": "device"
        }
    ],
    "code": 404
}