Get all booths' last updates

GET /api/booths/latest_updates

Allows you to retrieve the last update for every booth you have access to. It returns the entire payload sent by each booth.

Responses

  • OK

    Hide response attribute Show response attribute object
    • booth_id object

      Latest update for booth

      Additional properties are allowed.

  • Unauthorized

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

GET /api/booths/latest_updates
curl \
 -X GET http://localhost:4000/api/booths/latest_updates
Response examples (200)
{
  "ec5dfea8-b7c3-471f-8fe0-5a60af395c37": {
    "iHMI_BoothTemp": "70",
    "Q_xAccel1_on_off": "false",
    "iHMI_Total_Hours": "480"
  }
}
Response examples (200)
{
  "ec5dfea8-b7c3-471f-8fe0-5a60af395c37": {
    "iHMI_BoothTemp": "70",
    "Q_xAccel1_on_off": "false",
    "iHMI_Total_Hours": "480"
  }
}
Response examples (401)
{
  "error": "Error Reason"
}
Response examples (401)
{
  "error": "Error Reason"
}