Redigera

Dela via


itemAnalytics resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

The itemAnalytics resource provides analytics about activities that took place on an item. This resource is currently only available on SharePoint and OneDrive for Business.

You can also use the getActivitiesByInterval API to retrieve analytics over a custom time range or interval.

Note: The itemAnalytics resource is not yet available in all national deployments.

JSON representation

{
  "allTime": {"@odata.type": "microsoft.graph.itemActivityStat"},
  "lastSevenDays": {"@odata.type": "microsoft.graph.itemActivityStat"}
}

Properties

Property Type Description
allTime itemActivityStat Analytics over the item's lifespan.
lastSevenDays itemActivityStat Analytics for the last seven days.