Skip to main content
Version: 1.1.6

supportedReportSet

supportedReportSet

identifies the reports that are supported by the resource

const reports = await supportedReportSet({
collection,
headers: {
authorization: 'Basic x0C9ueWd9Vz8OwS0DEAtkAlj',
},
});

Arguments

  • collection required, DAVCollection to query on
  • headers request headers

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.