DPIclimate / broker

3 stars 3 forks source link

Add a REST API endpoint to get messages via logical device id #70

Closed dajtxx closed 1 month ago

dajtxx commented 1 month ago

With the logical device id added to the timeseries table, it is now possible to easily fetch messages from that table using the logical device id which means callers don't need to worry about device mappings.

Add a new /broker/api/logical/messages/{uid} endpoint, similar to the existing physical/messages/{uid} one.

dajtxx commented 1 month ago

Fixed with PR #73 .