supportedReportSet
supportedReportSet
identifies the reports that are supported by the resource
const reports = await supportedReportSet({
collection,
headers: {
authorization: 'Basic x0C9ueWd9Vz8OwS0DEAtkAlj',
},
});
Arguments
collectionrequired, DAVCollection to query onheadersrequest headersheadersToExcludearray of keys of the headers you want to excludefetchOptionsoptions to pass to underlying fetch function
Return Value
array of supported REPORT name in camelCase
Behavior
send supported-report-set PROPFIND request and parse response xml to extract names and convert them to camel case.