IoT Stadium

API Documentation

LoRa Gateway

LoRa Gateway - POST Add LoRa Gateway

Post

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

Parameter

Field Type Description
gateway_name String

Name for your LoRa gateway

description String

shared String

Does your gateway able to share information between different tenants?

location_id Integer

The ID for your the assigned location for your LoRa Gateway

gateway_id String

Unique gateway identifier (UUID).

token String

The token of your LoRa Gateway.

gateway_image_default String

location_custom_field Array

Additional location detail.

{
    "message": "lora_gateway created",
    "data": {
        "id": 27
    },
    "code": 200
}
{
    "message": "Invalid Message",
    "code": 400,
    "errors": [
        {
            "field": "gateway_name",
            "message": "The gateway name field is required.."
        },
        {
            "field": "shared",
            "message": "The selected shared is invalid."
        }
    ]
}