itemPreviewInfo resource type

Namespace: microsoft.graph

Contains information about how to embed a preview of a driveItem.

JSON representation

    "getUrl": "",
    "postParameters": "param1=value&param2=another%20value",
    "postUrl": ""


Name Type Description
getUrl string URL suitable for embedding using HTTP GET (iframes, etc.)
postParameters string POST parameters to include if using postUrl
postUrl string URL suitable for embedding using HTTP POST (form post, JS, etc.)

Either getUrl, postUrl, or both may be returned depending on the current state of support for the specified options.

postParameters is a string formatted as application/x-www-form-urlencoded, and if performing a POST to the postUrl the content-type should be set accordingly. For example:

Content-Type: application/x-www-form-urlencoded


The formats of URLs and parameters should be considered opaque.