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 fromobjectUrls
calendar object urls to fetchfilters
array of DAVFiltertimeRange
time range in iso formatstart
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