IoT Stadium

API Documentation

Telemetry

Telemetry - GET Telemetry List

Get

{{url_iot_backend}}/ext/devices/:id/telemetry_list?page=1&limit=10&filters[type][neq]=device_detail&filters[is_controller][eq]=0
{
	"key": "Content-Type",
	"value": "application/json"
},
{
	"key": "Authorization",
	"value": "Bearer {{token}}"
}

Parameter

Field Type Description
page Number

Number of pages.

Limit Number

Number of records per page.

filters[type][neq] Query

Exclude telemetry with type.

filters[is_controller][eq] Query

Only include telemetry

{
    "message": "success",
    "code": 200,
    "data": {
        "telemetrys": [
            {
                "id": 27404084,
                "timestamp": null,
                "key": "Int hum sensor",
                "value": "",
                "type": "humidity",
                "unit": "%",
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Hum_SHT",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 677,
                    "telemetry_index_detail_id": 27404084,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404086,
                "timestamp": null,
                "key": "port-4",
                "value": "",
                "type": null,
                "unit": null,
                "is_controller": 0,
                "is_group": 1,
                "key_raw": "port-4",
                "count_group": 0,
                "port": "port-4",
                "telemetry_index_detail_profile": null
            },
            {
                "id": 27404085,
                "timestamp": null,
                "key": "Int temp sensor",
                "value": "",
                "type": "temperature",
                "unit": "F",
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "TempC_SHT",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 679,
                    "telemetry_index_detail_id": 27404085,
                    "telemetry_profile_id": 53,
                    "telemetry_profile": {
                        "id": 53,
                        "telemetry_profile_name": "C to F",
                        "telemetry_profile_type_id": 1,
                        "conversion_properties": "{\"min\":0,\"max\":1,\"conversion_properties\":[\"*\",\"4.5\",\"+\",\"32\"]}",
                        "tenant_id": 0,
                        "unit": "F",
                        "telemetry_profile_type": {
                            "id": 1,
                            "telemetry_profile_type_name": "conversion"
                        }
                    }
                }
            },
            {
                "id": 27404082,
                "timestamp": null,
                "key": "snr",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "snr",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 674,
                    "telemetry_index_detail_id": 27404082,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404077,
                "timestamp": null,
                "key": "Firmware_Version",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Firmware_Version",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 669,
                    "telemetry_index_detail_id": 27404077,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404081,
                "timestamp": null,
                "key": "gateway_id",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "gateway_id",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 673,
                    "telemetry_index_detail_id": 27404081,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404075,
                "timestamp": null,
                "key": "Bat_mV",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Bat_mV",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 667,
                    "telemetry_index_detail_id": 27404075,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404078,
                "timestamp": null,
                "key": "Freq_Band",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Freq_Band",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 670,
                    "telemetry_index_detail_id": 27404078,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404080,
                "timestamp": null,
                "key": "Systimestamp",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Systimestamp",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 672,
                    "telemetry_index_detail_id": 27404080,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404076,
                "timestamp": null,
                "key": "Ext",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Ext",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 668,
                    "telemetry_index_detail_id": 27404076,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            }
        ],
        "total": 14,
        "page": 1,
        "total_page": 2
    }
}
{
    "message": "success",
    "code": 200,
    "data": {
        "telemetrys": [
            {
                "id": 27404085,
                "timestamp": null,
                "key": "Int temp sensor",
                "value": "",
                "type": "temperature",
                "unit": "F",
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "TempC_SHT",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 679,
                    "telemetry_index_detail_id": 27404085,
                    "telemetry_profile_id": 53,
                    "telemetry_profile": {
                        "id": 53,
                        "telemetry_profile_name": "C to F",
                        "telemetry_profile_type_id": 1,
                        "conversion_properties": "{\"min\":0,\"max\":1,\"conversion_properties\":[\"*\",\"4.5\",\"+\",\"32\"]}",
                        "tenant_id": 0,
                        "unit": "F",
                        "telemetry_profile_type": {
                            "id": 1,
                            "telemetry_profile_type_name": "conversion"
                        }
                    }
                }
            },
            {
                "id": 27404082,
                "timestamp": null,
                "key": "snr",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "snr",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 674,
                    "telemetry_index_detail_id": 27404082,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404086,
                "timestamp": null,
                "key": "port-4",
                "value": "",
                "type": null,
                "unit": null,
                "is_controller": 0,
                "is_group": 1,
                "key_raw": "port-4",
                "count_group": 0,
                "port": "port-4",
                "telemetry_index_detail_profile": null
            },
            {
                "id": 27404077,
                "timestamp": null,
                "key": "Firmware_Version",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Firmware_Version",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 669,
                    "telemetry_index_detail_id": 27404077,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404081,
                "timestamp": null,
                "key": "gateway_id",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "gateway_id",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 673,
                    "telemetry_index_detail_id": 27404081,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404075,
                "timestamp": null,
                "key": "Bat_mV",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Bat_mV",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 667,
                    "telemetry_index_detail_id": 27404075,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404078,
                "timestamp": null,
                "key": "Freq_Band",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Freq_Band",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 670,
                    "telemetry_index_detail_id": 27404078,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404084,
                "timestamp": null,
                "key": "Int hum sensor",
                "value": "",
                "type": "humidity",
                "unit": "%",
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Hum_SHT",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 677,
                    "telemetry_index_detail_id": 27404084,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404080,
                "timestamp": null,
                "key": "Systimestamp",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Systimestamp",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 672,
                    "telemetry_index_detail_id": 27404080,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404076,
                "timestamp": null,
                "key": "Ext",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Ext",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 668,
                    "telemetry_index_detail_id": 27404076,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404083,
                "timestamp": null,
                "key": "Ext temp sensor",
                "value": "",
                "type": "temperature",
                "unit": "F",
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "TempC_DS",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 676,
                    "telemetry_index_detail_id": 27404083,
                    "telemetry_profile_id": 53,
                    "telemetry_profile": {
                        "id": 53,
                        "telemetry_profile_name": "C to F",
                        "telemetry_profile_type_id": 1,
                        "conversion_properties": "{\"min\":0,\"max\":1,\"conversion_properties\":[\"*\",\"4.5\",\"+\",\"32\"]}",
                        "tenant_id": 0,
                        "unit": "F",
                        "telemetry_profile_type": {
                            "id": 1,
                            "telemetry_profile_type_name": "conversion"
                        }
                    }
                }
            },
            {
                "id": 27404079,
                "timestamp": null,
                "key": "Sensor_Model",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Sensor_Model",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 671,
                    "telemetry_index_detail_id": 27404079,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404073,
                "timestamp": null,
                "key": "Sub_Band",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "Sub_Band",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 665,
                    "telemetry_index_detail_id": 27404073,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27404074,
                "timestamp": null,
                "key": "rssi",
                "value": "",
                "type": "device_status",
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "rssi",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": {
                    "id": 666,
                    "telemetry_index_detail_id": 27404074,
                    "telemetry_profile_id": 0,
                    "telemetry_profile": null
                }
            },
            {
                "id": 27406006,
                "timestamp": "2024-06-07 09:55:13",
                "key": "test66",
                "value": "true",
                "type": null,
                "unit": null,
                "is_controller": 1,
                "is_group": 0,
                "key_raw": "test66",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": null
            }
        ]
    }
}
{
    "message": "Not Allowed",
    "error": {
        "message": "Not Allowed",
        "field": "user"
    },
    "code": 403
}