Skip to content

IoT API

REST service for edge devices: certificates, access and data.

A REST service dedicated to edge devices handles certificate issuing, MQTT authorisation and time-series queries.

Use cases

01

A new gateway in service

On first start the edge device gets its certificate from the REST service and the MQTT authorisation to publish its data.

02

Access per device

Each device has its own MQTT authorisation, so a replaced or retired gateway is handled without touching the others.

03

Historical data for analysis

An external system queries the time series over REST to extract a machine’s data for a given period.

IoT API

In depth

One identity per installation

The service creates a gateway identity for each asset it serves: a client certificate signed by the platform’s certificate authority or, alternatively, MQTT credentials generated on the spot. The password is returned only once and is not stored.

  • Certificate issue and expiry dates recorded on the gateway-asset link
  • Regenerating the identity replaces the previous one
  • Certificate and key are available to the device provisioning tool

Each device on its own channels

For each identity the service sets up a dedicated role on the broker: the device can publish only its own data and receive only the messages meant for it, within its tenant. A gateway’s access is therefore kept apart from every other one.

Data and commands over REST

Applications query an asset’s time series by date range, get the list of available measurements and know which devices transmitted in the last minute.

The service can also send the gateway a variable write, for example a machine parameter through its OPC UA interface.

Authorisation from the platform

Every call carries the user’s token: before acting, the service checks the user’s permissions on the asset in the platform, read to query data and create to issue certificates and access. The rules stay in one place, next to the data.

More modules in Integrations

Want this module in your software?

Tell us about your process: we will design the right solution for your company together and send you a tailored proposal.