IoT Stadium

API Documentation

Telemetry

Telemetry - GET Telemetry List

Get

{{url_iot_backend}}/ext/lora-gateway/:id/telemetry_list?page=1&limit=10&search=100
{
	"key": "Content-Type",
	"value": "application/json"
},
{
	"key": "Authorization",
	"value": "Bearer {{token}}"
},

Parameter

Field Type Description
page Integer

Number of page

limit Integer

Limit of search result in one page

search String

Searched keyword

{
    "message": "success",
    "code": 200,
    "data": {
        "telemetrys": [
            {
                "id": 27406043,
                "timestamp": "2024-06-07 15:15:07",
                "key": "temp1",
                "value": "100",
                "type": null,
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "temp1",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": null
            }
        ]
    }
}
{
    "message": "success",
    "code": 200,
    "data": {
        "telemetrys": [
            {
                "id": 27406043,
                "timestamp": "2024-06-07 15:15:07",
                "key": "temp1",
                "value": "100",
                "type": null,
                "unit": null,
                "is_controller": 0,
                "is_group": 0,
                "key_raw": "temp1",
                "count_group": 0,
                "port": null,
                "telemetry_index_detail_profile": null
            }
        ],
        "total": 1,
        "page": 1,
        "total_page": 1
    }
}
{
    "success": false,
    "error": {
        "code": 401,
        "message": "Unauthorized: Invalid token"
    }
}