IoT Stadium

API Documentation

BLE Gateway

BLE Gateway - GET BLE Gateway Detail

Get

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

Parameter

Field Type Description
id Integer

Gateway unique ID.

type String

The selected gateway type (BLE).

{
    "message": "success",
    "code": 200,
    "data": {
        "ble_gateways": {
            "id": 50,
            "gateway_id": "4e17ae9c-5241-41ab-a971-589f30323d4c",
            "gateway_name": "testing",
            "description": "test",
            "connectivity_type_id": 3,
            "deveui": "DECDCE7364532873",
            "gateway_network_id": 2,
            "location_id": null,
            "created_at": "2024-05-20 09:35:45",
            "updated_at": "2024-05-20 09:35:45",
            "token": "TbGKEBfig6JzVMf6KXLhLYIpYqZSwcsCvDl9lNTxjC8QX4f0ptEec3aKn49EYb733VzYI2Agl3JbLAQL",
            "connectivity_type": {
                "id": 3,
                "name": "LoRaWAN"
            },
            "device_thethings": {
                "id": 261,
                "app_key": "DE453DE536E34385536ED3D354E36E35",
                "join_eui": "562F35ED35E536DE",
                "frequency_plan_id": "EU_863_870",
                "lorawan_phy_version": "PHY_V1_0",
                "lorawan_version_mac": "MAC_V1_0",
                "dev_eui": "DECDCE7364532873",
                "downlink_encoder": "",
                "uplink_decoder": "",
                "device_type_id": 0
            },
            "gateway_network": {
                "id": 2,
                "name": "Helium"
            },
            "gateway_image_default": [],
            "location": null,
            "location_custom_field": []
        }
    }
}
{
    "message": "data not found",
    "errors": [
        {
            "message": "data not found",
            "field": "ble_gateway"
        }
    ],
    "code": 404
}                                                
{
    "message": "Not Allowed",
    "error": {
        "message": "Not Allowed",
        "field": "user"
    },
    "code": 403
}