v1

latestOpenAPI 3.0.32026-07-171140286.6 KB
Api\MeasurementController

api/lora_sensors POST Store sensor measurement data (see BEEP sensor data API definition) from TTN or KPN (Simpoint) When Simpoint payload is supplied, the LoRa HEX to key/value pairs decoding is done within function $this->parse_ttn_payload() When TTN payload is supplied, the TTN HTTP integration decoder/converter is assumed to have already converted the payload from LoRa HEX to key/value conversion

post/api/lora_sensors_auth

Headers

Content-Typestring
Acceptstring
Accept-languagestring

Request body

keystring required

DEV EUI of the Device to enable storing sensor data

payload_rawstring

TTN BEEP Measurement data in Base 64 encoded string

payload_fieldsstring

TTN Measurement data array

DevEUI_uplinkstring

KPN Measurement data array

Example request

{
  "key": "aperiam",
  "payload_raw": "sed",
  "payload_fields": "totam",
  "DevEUI_uplink": "praesentium"
}