Pyrrha-Platform / Pyrrha-Rules-Decision

The Pyrrha (created by Prometeo) solution application for determining thresholds in toxin exposure measured by the sensor device and sent to the cloud from the smartphone carried by the firefighters.
Apache License 2.0
6 stars 4 forks source link

Adding the get_status end point to rules decision #11

Closed upkarlidder closed 4 years ago

upkarlidder commented 4 years ago

Adding the get_status end point to rules decision. The end point returns the following json

{
   firefighter_id: "001",
   timestamp_mins: "2020-10-05T09:01:05",
   status: 1
}

The possible status values are:

upkarlidder commented 4 years ago

@JSegrave-IBM @narengan can you please review and approve? Thank you.