uWaterloo / OpenData

Help and Support for University of Waterloo Open Data Initiative
https://api.uwaterloo.ca
90 stars 12 forks source link

`/v3/importantDates` is missing data #230

Closed jerryzhou196 closed 1 month ago

jerryzhou196 commented 1 month ago

EDIT: The original issue was not correct so I updated it.

Currently, UWFlow uses the /v3/ImportantDates endpoint to get the exact startDate and endDate for all terms, as the /v3/Terms endpoint only provides hardcoded dates and the internal logic requires that we have the specific start and end dates for every term. However, it seems the data for the upcoming term is no longer being updated in the /v3/importantDates endpoint. One example in particular is the "Classes Begin" event for the upcoming terms on September 4th, 2024, which is shown on https://uwaterloo.ca/registrar/important-dates/calendar but not on the endpoint (contains data only up to May 2024) .

image

image

sbobkin commented 1 month ago

I'll take a look at the important dates data; ETA is next week.

To clarify a few things about the term data which may help you.

The "Terms" endpoint is the official start and end date of the Term according to Quest/RO. The classes begin date, which you're looking for is a different event and why they don't line up.

Technically, you probably want to be looking at the schedule start and end dates within the "Class Schedule" data as there is not a reason a class schedule could not start later, less likely to be earlier, than the classes begin date.

sbobkin commented 1 month ago

The issue with missing important dates is now resolved; there was a part of a refresh that wasn't happening.

As a heads up, when looking into this I found that the data is migrating August 27th, there may be some interruption at that date for this data again. I'll try to internally find out what's happening, but we were not previously aware.

jerryzhou196 commented 1 month ago

You are the unsung hero of Waterloo, friend. Thanks so much for looking into this and fixing it.