trending resource type

Namespace: microsoft.graph

Rich relationship connecting a user to documents that are trending around the user (are relevant to the user). OneDrive files, and files stored on SharePoint team sites can trend around the user.


Method Return Type Description
List trending trending collection Get a list of trending files.


Property Type Description
id String Unique identifier of the relationship. Read only.
lastModifiedDateTime DateTimeOffset
resourceReference resourceReference Reference properties of the trending document, such as the url and type of the document.
resourceVisualization resourceVisualization Properties that you can use to visualize the document in your experience.
weight Double Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value.


Property Type Description
resource entity Used for navigating to the trending document.

JSON representation

Here is a JSON representation of the resource

  "id": "string",
  "weight": "double",
  "resourceVisualization": {"@odata.type": "microsoft.graph.resourceVisualization"},
  "resourceReference": {"@odata.type": "microsoft.graph.resourceReference"},
  "lastModifiedDateTime": "String (timestamp)"