listContentMetrics in the widget’s uses list before calling it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Lists visit metrics for Portal content resources.
listContentMetrics in the widget’s uses list before calling it.
const metrics = await listContentMetrics({
resource: "media",
kind: "shareVisits",
period: "30d",
});
const listContentMetrics: PortalFunction<readonly PortalMetric[], ListContentMetricsInput>