used resource type

An insight representing documents used by a specific user. The insights returns the most relevant documents that a user viewed or accessed. This includes documents in:

  • OneDrive for Business
  • SharePoint

Properties

Property Type Description
id String Unique identifier of the relationship. Read only.
lastUsed usageDetails Information about when the item was last viewed and modified by the user. Read only.
resourceVisualization resourceVisualization Properties that you can use to visualize the document in your experience. Read-only
resourceReference resourceReference Reference properties of the used document, such as the url and type of the document. Read-only

Relationships

Property Type Description
resource Entity Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem.

JSON representation

Here is a JSON representation of the resource

{
  "id": "string",
  "lastUsed": "usageDetails",
  "resourceVisualization": "resourceVisualization",
  "resourceReference": "resourceReference",
  
  "resource": [ { "@odata.type": "microsoft.graph.entity" } ]
}