IoT Stadium

API Documentation

Authentication

Authentication - Trial Access To Devices

To access the list of devices on your platform

Get
https://api.iotstadium.com/ext/devices
{
    "key": "Content-Type",
    "value": "application/json"
},
{
    "key": "Authorization",
    "value": "Bearer Value"
}
{
    "message": "success",
    "code": 200,
    "data": {
        "devices": [
            {
                "id": 1390,
                "device_name": "Device Name 1",
                "created_at": "2024-01-01 01:00:00",
                "last_seen": "2024-01-01 13:00:00",
                "deveui": "",
                "device_type": {
                    "id": 292,
                    "device_type_name": "Devive Type Name",
                    "is_predefined": 0,
                    "is_image_model_type": 0
                },
                "location_id": null,
                "device_network_id": 1,
                "device_connectivity_type_id": 1,
                "device_type_id": 292,
                "is_collection": 0,
                "access_type": null,
                "location_custom_field": [],
                "location": null,
                "device_connectivity_type": {
                    "id": 1,
                    "name": "Device Connectivity Type"
                },
                "device_network": {
                    "id": 1,
                    "name": "Device Network"
                }
            },
            {
                "id": 1212,
                "device_name": "Device Name 2",
                "created_at": "2024-01-01 01:00:00",
                "last_seen": "2024-01-01 13:00:00",
                "deveui": "",
                "device_type": null,
                "location_id": null,
                "device_network_id": 2,
                "device_connectivity_type_id": 4,
                "device_type_id": 0,
                "is_collection": 0,
                "access_type": null,
                "location_custom_field": [],
                "location": null,
                "device_connectivity_type": {
                    "id": 4,
                    "name": "Device Connectivity Type"
                },
                "device_network": {
                    "id": 2,
                    "name": "Device Network"
                }
            }
        ]
    }
}
{
    "message": "Invalid Token",
    "error":  {
           "message": "Invalid Token",
           "field": "user"
     }
    "code": 401
}