RIT COVID Poller

This is a simple API to retrieve current and historical data from the RIT COVID Dashboard.
More information: https://helloreverb.com
Contact Info: galen@galenguyer.com
Version: 1.0.0
BasePath:/api
AGPL 3.0
https://www.gnu.org/licenses/agpl-3.0.txt

Access

Methods

[ Jump to Models ]

Table of Contents

V0

V0

Up
get /v0/history
Gets all historical data (getv0History)
Returns data from every day where the dashboard changed

Return type

array[Day]

Example data

Content-Type: application/json
[ {
  "beds_available" : 0,
  "total_staff" : 3,
  "isolation_on_campus" : 1,
  "last_updated" : "2000-01-23T04:56:07.000+00:00",
  "quarantine_on_campus" : 7,
  "new_staff" : 5,
  "alert_level" : "green",
  "test_administered" : 9,
  "total_students" : 2,
  "new_students" : 5,
  "quarantine_off_campus" : 2,
  "isolation_off_campus" : 6
}, {
  "beds_available" : 0,
  "total_staff" : 3,
  "isolation_on_campus" : 1,
  "last_updated" : "2000-01-23T04:56:07.000+00:00",
  "quarantine_on_campus" : 7,
  "new_staff" : 5,
  "alert_level" : "green",
  "test_administered" : 9,
  "total_students" : 2,
  "new_students" : 5,
  "quarantine_off_campus" : 2,
  "isolation_off_campus" : 6
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

Up
get /v0/latest
Gets the latest data (getv0Latest)
Returns the most recent data from the official dashboard

Return type

Day

Example data

Content-Type: application/json
{
  "beds_available" : 0,
  "total_staff" : 3,
  "isolation_on_campus" : 1,
  "last_updated" : "2000-01-23T04:56:07.000+00:00",
  "quarantine_on_campus" : 7,
  "new_staff" : 5,
  "alert_level" : "green",
  "test_administered" : 9,
  "total_students" : 2,
  "new_students" : 5,
  "quarantine_off_campus" : 2,
  "isolation_off_campus" : 6
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation Day

Models

[ Jump to Methods ]

Table of Contents

  1. Day -

Day - Up

alert_level (optional)
Enum:
green
yellow
orange
red
beds_available (optional)
Integer format: int32
isolation_off_campus (optional)
Integer format: int32
isolation_on_campus (optional)
Integer format: int32
last_updated (optional)
Date format: date-time
new_staff (optional)
Integer format: int32
new_students (optional)
Integer format: int32
quarantine_off_campus (optional)
Integer format: int32
quarantine_on_campus (optional)
Integer format: int32
test_administered (optional)
Integer format: int32
total_staff (optional)
Integer format: int32
total_students (optional)
Integer format: int32