IoT Stadium

API Documentation

LoRaWAN Gateway

LoRaWAN Gateway - GET LoRaWAN Gateway Detail

Get

{{url_iot_backend}}/ext/ttn-gateway/:id
{
	"key": "Content-Type",
	"value": "application/json"
},
{
	"key": "Authorization",
	"value": "Bearer {{token}}"
},

Parameter

Field Type Description
id Integer

Specifced LoRaWAN Gateway identified

{
    "message": "success",
    "code": 200,
    "data": {
        "ttn_gateways": {
            "id": 100,
            "gateway_server_address": "thethings.guritno.dev",
            "gateway_name": "test lorawan gateway postman",
            "gateway_eui": "1243254123454542",
            "gateway_id": "eui-1243254123454542",
            "frequency_plan": "EU_863_870",
            "status_public": 1,
            "location_public": 1,
            "tenant_id": 37,
            "created_at": "2024-06-05 01:59:45",
            "updated_at": "2024-06-05 01:59:45",
            "deleted_at": null,
            "ttn_gateway_type_id": 0,
            "is_required_authenticated_connection": 1
        }
    }
}
{
    "message": "data not found",
    "errors": [
        {
            "message": "data not found",
            "field": "ttn_gateway"
        }
    ],
    "code": 404
}                                                
{
    "message": "Not Allowed",
    "error": {
        "message": "Not Allowed",
        "field": "user"
    },
    "code": 403
}