Telemetry - GET LoRaWAN Gateway List
Get
{{url_iot_backend}}/ext/ttn-gateway?page=1&limit=10&search=1243254123454123
{
"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": {
"ttn_gateways": [
{
"id": 99,
"gateway_server_address": "thethings.guritno.dev",
"gateway_name": "test lorawan gateway",
"gateway_eui": "1243254123454123",
"gateway_id": "eui-1243254123454123",
"frequency_plan": "EU_863_870",
"status_public": 1,
"location_public": 1,
"tenant_id": 37,
"created_at": "2024-06-05 01:39:59",
"updated_at": "2024-06-05 01:39:59",
"deleted_at": null,
"ttn_gateway_type_id": 0,
"is_required_authenticated_connection": 1,
"telemetry_gateway_type": {
"id": 0,
"ttn_gateway_type_name": "The Things Network"
}
},
{
"id": 98,
"gateway_server_address": "thethings.guritno.dev",
"gateway_name": "testing",
"gateway_eui": "55e34dced363dfed",
"gateway_id": "eui-55e34dced363dfed",
"frequency_plan": "EU_863_870",
"status_public": 1,
"location_public": 1,
"tenant_id": 37,
"created_at": "2024-05-20 09:21:00",
"updated_at": "2024-05-20 09:21:00",
"deleted_at": null,
"ttn_gateway_type_id": 0,
"is_required_authenticated_connection": 0,
"telemetry_gateway_type": {
"id": 0,
"ttn_gateway_type_name": "The Things Network"
}
},
{
"id": 80,
"gateway_server_address": "tts.iotstadium.com",
"gateway_name": "test new gateway A",
"gateway_eui": "eb2e2323434323ea",
"gateway_id": "eui-eb2e2323434343ef",
"frequency_plan": "EU_863_870",
"status_public": 1,
"location_public": 1,
"tenant_id": 37,
"created_at": "2024-01-16 03:10:44",
"updated_at": "2024-02-23 02:18:19",
"deleted_at": null,
"ttn_gateway_type_id": 0,
"is_required_authenticated_connection": 1,
"telemetry_gateway_type": {
"id": 0,
"ttn_gateway_type_name": "The Things Network"
}
},
{
"id": 79,
"gateway_server_address": "tts.iotstadium.com",
"gateway_name": "gw-name",
"gateway_eui": "1234567812345678",
"gateway_id": "eui-1234567812345678",
"frequency_plan": "EU_863_870",
"status_public": 1,
"location_public": 1,
"tenant_id": 37,
"created_at": "2023-12-27 03:02:30",
"updated_at": "2023-12-27 03:02:30",
"deleted_at": null,
"ttn_gateway_type_id": 0,
"is_required_authenticated_connection": 0,
"telemetry_gateway_type": {
"id": 0,
"ttn_gateway_type_name": "The Things Network"
}
},
]
}
}
{
"message": "success",
"code": 200,
"data": {
"ttn_gateways": [
{
"id": 99,
"gateway_server_address": "thethings.guritno.dev",
"gateway_name": "test lorawan gateway",
"gateway_eui": "1243254123454123",
"gateway_id": "eui-1243254123454123",
"frequency_plan": "EU_863_870",
"status_public": 1,
"location_public": 1,
"tenant_id": 37,
"created_at": "2024-06-05 01:39:59",
"updated_at": "2024-06-05 01:39:59",
"deleted_at": null,
"ttn_gateway_type_id": 0,
"is_required_authenticated_connection": 1,
"telemetry_gateway_type": {
"id": 0,
"ttn_gateway_type_name": "The Things Network"
}
}
],
"total": 1,
"page": 1,
"total_page": 1
}
}
{
"success": false,
"error": {
"code": 401,
"message": "Unauthorized: Invalid token"
}
}