Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a public route for upcoming events #509

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Add a public route for upcoming events #509

merged 1 commit into from
Oct 2, 2024

Conversation

dsluijk
Copy link
Member

@dsluijk dsluijk commented Oct 1, 2024

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.

@dsluijk dsluijk enabled auto-merge October 1, 2024 22:40
@robertdijk
Copy link
Member

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
Copy link
Member Author

dsluijk commented Oct 2, 2024

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
Copy link
Member

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

@ThomBreugelmans
Copy link
Contributor

image

@dsluijk dsluijk merged commit 76746c3 into master Oct 2, 2024
5 checks passed
@dsluijk dsluijk deleted the eventsroute branch October 2, 2024 10:47
@JoepdeJong
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants