Skip to main content
Version: 1.1.6

fetchCalendarObjects

fetchCalendarObjects

get all/specified calendarObjects of the passed in calendar

const objects = await fetchCalendarObjects({
calendar: calendars[0],
headers: {
authorization: 'Basic x0C9uFWd9Vz8OwS0DEAtkAlj',
},
});

Arguments

  • calendar required, DAVCalendar to fetch calendar objects from
  • objectUrls calendar object urls to fetch
  • filters array of DAVFilter
  • timeRange time range in iso format
    • start start time in ISO 8601 format, format that's not in ISO 8601 will cause an error be thrown.
    • end end time in ISO 8601 format, format that's not in ISO 8601 will cause an error be thrown.
  • headers request headers

Return Value

array of DAVCalendarObject

Behavior

a mix of calendarMultiGet and calendarQuery, you can specify both filters and objectUrls here.