Get booth revision history

GET /api/booths/{id}/revision_history

Allows you to retrieve the program and firmware revisions a booth has had installed and when the first message with each version was received.

Path parameters

  • id string Required

    ID of the booth

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object

      object with program and firmware revisions for a booth

      Hide data attributes Show data attributes object
      • firmware_versions array[object]

        List of firmware versions for a booth.

        Hide firmware_versions attributes Show firmware_versions attributes object
        • installed_at string

          ISO8601 formatted timestamp when the first message with the given revision was received.

        • version string

          The code for the firmware version.

      • program_versions array[object]

        List of program versions for a booth.

        Hide program_versions attributes Show program_versions attributes object
        • installed_at string

          ISO8601 formatted timestamp when the first message with the given version was received.

        • version string

          The code for the program version.

  • 401 application/json

    Unauthorized

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

  • 403 application/json

    Forbidden

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

GET /api/booths/{id}/revision_history
curl \
 --request GET 'http://localhost:4000/api/booths/{id}/revision_history' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "firmware_versions": [
      {
        "installed_at": "string",
        "version": "string"
      }
    ],
    "program_versions": [
      {
        "installed_at": "string",
        "version": "string"
      }
    ]
  }
}
Response examples (401)
{
  "error": "Error Reason"
}
Response examples (401)
{
  "error": "Error Reason"
}
Response examples (403)
{
  "error": "Error Reason"
}
Response examples (403)
{
  "error": "Error Reason"
}
Response examples (404)
{
  "error": "Error Reason"
}
Response examples (404)
{
  "error": "Error Reason"
}