Skip to main content

YOU MUST IMPLEMENT

Event Endpoints

  1. Fetch event by ID
  2. Fetch event range (for testing)
  3. Fetch event guests (optional)
  4. Fetch event logs (optional)

Retrieves an event by its ID.


interface IPluginEventDetails {
  summary: string;
  start: {
    dateTime: string;
    timeZone: string;
  },
  end: {
    dateTime: string;
    timeZone: string;
  },
  recurrence: string[];
  extendedProperties: any;
  reminders: any;
}

interface IPluginEvent {
  _id: string;

  atomcal_event_id: string;
  atomcal_sync_state: string;
  atomcal_sync_error: string;

  google_event_id: string;
  google_calendar_id: string;
  google_sync_state: string;
  google_sync_error: string;

  last_update: string;
  last_push: string;

  raw_json: IPluginEventDetails;
}