The event endpoints are anonymous and use the current portal. They are read-only.
Add an event calendar link
Call:
GET /DesktopModules/OpenContentHelper/API/Events/Calendar?slug=event-slug
The response is an .ics download for the matching event. Add the URL to an “Add to calendar” link in the OpenContent template. A missing slug returns a bad request. A slug that does not match an event returns not found.
Create an event sitemap
Call:
GET /DesktopModules/OpenContentHelper/API/Events/Sitemap
If event detail pages use a known path, pass it explicitly:
/DesktopModules/OpenContentHelper/API/Events/Sitemap?detailPagePath=/events
The response is XML containing upcoming events and absolute URLs. Confirm that the detail-page path matches the page route used by the public event detail template before submitting the sitemap to a search engine.