The Things Stack Gateway Create Example

LoRaWANIoTInternet Of ThingsOpen SourceNetwork ServerLPWANTelemetrySensorsGatewaysConnectivityApache 2.0

The Things Stack Gateway Create Example is an example object payload from The Things Network / The Things Stack, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

gatewayfield_mask

Example Payload

Raw ↑
{
  "gateway": {
    "ids": { "gateway_id": "eui-aa555a0000000101", "eui": "AA555A0000000101" },
    "name": "Rooftop Gateway 01",
    "description": "8-channel LoRaWAN gateway on rooftop",
    "frequency_plan_id": "EU_863_870_TTN",
    "gateway_server_address": "eu1.cloud.thethings.industries",
    "antennas": [
      { "gain": 3.0, "location": { "latitude": 47.0, "longitude": 8.0, "altitude": 430, "source": "SOURCE_REGISTRY" } }
    ],
    "status_public": true,
    "location_public": true,
    "enforce_duty_cycle": true,
    "schedule_anytime_delay": "0.530s"
  },
  "field_mask": {
    "paths": [
      "name", "description", "frequency_plan_id", "gateway_server_address",
      "antennas", "status_public", "location_public",
      "enforce_duty_cycle", "schedule_anytime_delay"
    ]
  }
}