Closed dsluijk closed 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
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
Ooo that's via the website, I forgot that. Clear now!
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?
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.