Sync a subscribed calendar
POST/api/calendars/:id/sync
Fetches a subscribed calendar's ICS feed now, mirrors it into the calendar, and returns the calendar with the sync counts. Events are created or updated by UID, events no longer in the feed are deleted, and feed events without a UID are skipped; reminders the user set on mirrored events are kept. A failed fetch or parse does not fail the request: the response has sync.ok: false with the error, which is also stored on the calendar. Subscribed calendars are also refreshed in the background once their last sync is older than 30 minutes. Owner only; 400 for a local calendar.
Request
Responses
- 200
- 400
- 404
Calendar and sync result.
Request failed.
Request failed.