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