WISVCH / events

Registration for CH events (lectures, workshops, excursions, ...)
https://ch.tudelft.nl/events/
7 stars 10 forks source link

Add a public route for upcoming events #509

Closed dsluijk closed 3 weeks ago

dsluijk commented 4 weeks ago

This PR adds a public route which can be used to fetch the upcoming events. This is useful as this can be the source of truth when it comes to CH events, and can then be fetched in an automated fashion. Private information is stripped from the response, and only published events are shown.

robertdijk commented 3 weeks ago

We already have something like this right? The iCal thingy. That's what I use for the upcoming events narrowcast tv screen. But I guess this is a bit cleaner haha

dsluijk commented 3 weeks ago

Yes, the same information is available though the calendar feed, but this is fetched from the events store in the website. This is then synced with events through webhooks. I want to add this route for when we would replace that system e.g. when we have a new website

robertdijk commented 3 weeks ago

Ooo that's via the website, I forgot that. Clear now!

ThomBreugelmans commented 3 weeks ago

image

JoepdeJong commented 3 weeks ago

For what will this be used?

Product also have a sellEnd date. Do you think we need to filter on that too, instead on just the upcoming events?