...
REST
Navigate to: Integrations -> REST
The API is located and documented at:
https://backend.lobaro.com/api
Access Tokens
All API calls must be authenticated with an access token. Access tokens can be managed on the REST Integration page.
Each token has a list of roles assigned to it.
Token roles:
- network-server: Allows to write device data. Required for LoRaWAN Network Server Integrations.
Add the Token into the HTTP request Header:
- Field:
Authorization
- Value:
Bearer eyJhbGciOiJIU...
Receive data from a LoRaWAN network server
- Create an Bearer Token or BasicAuth credentials in the Lobaro Platform with the role
network-server
to allow write access for device data. - Configure your network server to send data to the corresponding endpoint (see list below) using the token (e.g.
Bearer eyJhbGciOiJ...
) or BasicAuth credentials in theAuthorization
header field.
Please consult the documentation of your network server for further instructions.
Platform REST Endpoints for network server integrations:
- Chirpstack: https://backend.lobaro.com/api/chirpstack/uplink (deprecated:
/api/loraserver/uplink
) - Element-IoT: https://backend.lobaro.com/api/element-iot/data
- Actility: https://backend.lobaro.com/api/actility/data
- Everynet: https://backend.lobaro.com/api/everynet/data
- TTN: https://backend.lobaro.com/api/ttn/data (Platform Version > 1.0.6)
- Wanesy: https://backend.lobaro.com/api/wanesy (/dataUp & /dataDownEvent) (Platform Version > 1.7.0)
We also support other network servers on request, e.g. Firefly, Loriot, ... Just ask!
Filter query parameters
Filters parameters can be appended to some requests in the form of f:<parameter>=<op>:<value>
e.g. f:createdAt=gt:<timestamp>
to filter by createdAt date.
The Value must be URL encoded e.g. a timestamp might look like gt:2000-01-01T02:37:00%2B01:00
The allowed <parameter>
is specified for each endpoint separately.
<op>
must be one of the following operators:
In Query | Meaning |
---|---|
eq | = |
lte | <= |
lt | < |
gte | >= |
gt | > |
If no operator is given the default eq
operator will be used.
...
...
Forward data from the Lobaro Platform via MQTT Publish to any MQTT broker.
Broker URL: must be in one of the following formats:
mqtt[s]://host.domain[:port]
tcp[s]://host.domain[:port]
Default port for mqtt/tcp is 1883
. Default port for mqtts/tcps is 8883
.
ClientId: Used on MQTT connect. Default is: lobaro-{RND}
. {RND}
will be replaced by a unique random string.
Username / Password: Used to authenticate with the MQTT broker.
Topic: The MQTT topic to publish sensor data.
...