Calendar

Refresh Calendar Events

Refresh calendar events by fetching from the provider and saving to the database.

This endpoint:

  1. Fetches events from the calendar provider for the next 2 months
  2. Deletes existing event records for this calendar
  3. Saves the newly fetched events to the database
  • calendar_id: The ID of the calendar to refresh (path parameter)

Returns: Dictionary with the number of events refreshed

post/calendars/{calendar_id}/refresh

Path parameters

calendar_idstring uuid required

Response

Successful Response

{"stackTrail":"paths:/calendars/{calendar_id}/refresh:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.