Which URI should you use to retrieve the results?

Posted by: Pdfprep Category: MS-600 Tags: , ,

HOTSPOT

You need to retrieve a list of the last 10 files that the current user opened from Microsoft OneDrive. The response must contain only the file ID and the file name.

Which URI should you use to retrieve the results? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

"graph.microsoft.com" "drive" onedrive

Box 1: root

/root – The root folder for the drive.

Box 2: $select=id,name

To specify a different set of properties to return than the default set provided by the Graph, use the $select query option. The $select option allows for choosing a subset or superset of the default set returned. For example, when retrieving your messages, you might want to select that only the from and subject properties of messages are returned.

References:

https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/addressing-driveitems

https://developer.microsoft.com/en-us/graph/docs/overview/query_parameters

Leave a Reply

Your email address will not be published.