The Push API provides real-time forwarding, allowing users to receive data from Sensorbee in real-time as it is posted in the server. This type of integration is useful for applications that require up-to-the-moment data, such as those used for monitoring or tracking environmental parameters. By using the Push API, users can receive data as it is posted in the server, without needing to rely on periodic polling or other less efficient methods.
Figure 1 - Create Push API Step 1
Figure 2 - Create Push API Step 2
After the Push API is created, you can now assign it to a base unit. Please see Device Management Info for details on how to assign an integration to a base unit.
When the push API is successfully assigned to a base unit / device, a JSON payload will then be forwarded to your endpoint every polling interval. The content of the JSON payload uses the Smart City Template, which contains all significant parameters needed for monitoring the air quality and the environment.