This is a simple API to retrieve current and historical data from the RIT COVID Dashboard.
Gets all historical data (getv0History)
Returns data from every day where the dashboard changed
Return type
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 request header;
the media type will be conveyed by the response header.
Responses
200
successful operation
Gets the latest data (getv0Latest)
Returns the most recent data from the official dashboard
Return type
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 request header;
the media type will be conveyed by the response header.
Responses
200
successful operation
Day
alert_level (optional)
green
yellow
orange
red
beds_available (optional)
isolation_off_campus (optional)
isolation_on_campus (optional)
last_updated (optional)
new_staff (optional)
new_students (optional)
quarantine_off_campus (optional)
quarantine_on_campus (optional)
test_administered (optional)
total_staff (optional)
total_students (optional)