Thumbnail 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 thumbnail resource type represents a thumbnail for an image, video, document, or any item that has a bitmap representation.

Properties

Property Type Description
height Int32 The height of the thumbnail, in pixels.
sourceItemId String The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested.
url String The URL used to fetch the thumbnail content.
width Int32 The width of the thumbnail, in pixels.
content Stream The content stream for the thumbnail.

JSON representation

Here is a JSON representation of the thumbnail resource.

{
  "height": "Int32",
  "sourceItemId": "String",
  "url": "String",
  "width": "Int32",

  /* relationships */
  "content": "Stream"
}