Closed andy2great closed 3 months ago
To support reading information of boxes, we want to have endpoints that will give all the details:
GET /boxes (Gives all details of a box, last sensor data, warning on sensor)
GET /boxes/:id/data (Gives sensor data of the pass x amount of time)
PUT /box/:id (Updates user details for a box)
To support reading information of boxes, we want to have endpoints that will give all the details:
GET /boxes (Gives all details of a box, last sensor data, warning on sensor)![image](https://github.com/BesLogic/releaf-genparker/assets/22083907/9a80f873-b99e-44f5-9edf-3f01debc96bf)
GET /boxes/:id/data (Gives sensor data of the pass x amount of time)![image](https://github.com/BesLogic/releaf-genparker/assets/22083907/207aad3a-dacc-482b-ae52-d5be355ef887)
PUT /box/:id (Updates user details for a box)![image](https://github.com/BesLogic/releaf-genparker/assets/22083907/a7129881-49ef-4ec2-bc6b-5b57c2ef743e)