main ← feat-add-ical-format-response-to-post-events-index
opened 09:53AM - 02 Oct 25 UTC
Reverts the removal of this from https://github.com/discourse/discourse-calendar…/pull/231. This opens up the relative url `/discourse-post-event/events.ics` for access to an ical formatted response.
We also make available the `order` argument for this endpoint which defaults to ascending order if there is no value or invalid value passed. This maintains existing behaviour while allowing for users to specify that they want most recent events first.
### Testing
Downloaded an ical file from the endpoint and imported into my local laptop's calendar.
<img width="632" height="494" alt="imported events" src="https://github.com/user-attachments/assets/6498b982-9d22-4ea0-8fc9-edfe4ea1033d" />