title | description | author | ms.localizationpriority | ms.subservice | doc_type |
---|---|---|---|---|---|
resourceVisualization resource type |
Complex type containing properties of Insights. |
simonhult |
medium |
insights |
resourcePageType |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Complex type containing properties of itemInsights.
Property | Type | Description |
---|---|---|
title | String | The item's title text. |
type | String | The item's media type. Can be used for filtering for a specific file based on a specific type. See the Type property values section, for supported types. |
mediaType | String | The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Not all Media Mime Types are supported. |
previewImageUrl | String | A URL leading to the preview image for the item. |
previewText | String | A preview text for the item. |
containerWebUrl | String | A path leading to the folder in which the item is stored. |
containerDisplayName | String | A string describing where the item is stored. For example, the name of a SharePoint site or the user name identifying the owner of the OneDrive storing the item. |
containerType | String | Can be used for filtering by the type of container in which the file is stored. Such as Site or OneDriveBusiness. |
- PowerPoint
- Word
- Excel
- OneNote
- OneNotePage
- InfoPath
- Visio
- Publisher
- Project
- Access
- CSV
- Archive
- XPS
- Audio
- Video
- Image
- Web
- Text
- Xml
- Story
- ExternalContent
- Folder
- Other
Example query:
https://graph.microsoft.com/beta/me/insights/trending?$filter=ResourceVisualization/Type eq 'PowerPoint'
The supported types can differ based on containers from which itemInsights returns files. For example, only the sharedInsight insight returns files from 'DropBox', 'Box', and 'GDrive'.
- OneDriveBusiness
- Site
- DropBox
- Box
- GDrive
Example query:
https://graph.microsoft.com/beta/me/insights/trending?$filter=ResourceVisualization/containerType eq 'OneDriveBusiness'
The following JSON representation shows the resource type.
{
"title": "string",
"type" : "string",
"mediaType": "string",
"previewImageUrl": "string",
"previewText": "string",
"containerWebUrl": "string",
"containerDisplayName": "string",
"containerType": "string"
}