IoT Stadium

API Documentation

LoRa Gateway

LoRa Gateway - GET LoRa Gateway Detail

Get

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

Parameter

Field Type Description
id Integer

The LoRa Gateway ID

{
    "message": "success",
    "code": 200,
    "data": {
        "lora_gateways": {
            "id": 27,
            "gateway_id": "43d5d00e-ef5a-49cc-a053-735016b3b830",
            "gateway_name": "Lora postman update",
            "shared": 1,
            "status_connection": 0,
            "description": "test lora",
            "created_at": "2024-06-04 08:23:00",
            "updated_at": "2024-06-04 08:26:47",
            "location_id": 170,
            "token": "O7mqU7OeuozMaMgGvNxx2WBjMB9ne42pVw3EW4eRg0eYsUdsl2wUU5mPVZtHCce6ZCgRNtmo9UQy4KqW",
            "telemetry_index": null,
            "gateway_image_default": [],
            "location": {
                "location_name": "fixing annotation",
                "description": "",
                "id": 170
            },
            "location_custom_field": [
                {
                    "val": "new",
                    "key_field": "new",
                    "option_value": null,
                    "pivot": {
                        "gateway_id": 27,
                        "location_custom_field_id": 271
                    }
                }
            ]
        }
    }
}
{
    "message": "data not found",
    "errors": [
        {
            "message": "data not found",
            "field": "lora_gateway"
        }
    ],
    "code": 404
}                                                
{
    "message": "Not Allowed",
    "error": {
        "message": "Not Allowed",
        "field": "user"
    },
    "code": 403
}