List Shared With Me Items

List the set of items that are shared with the current user.

GET /drive/sharedWithMe

Note: This method has a different signature for Microsoft Graph and the OneDrive API. See OneDrive API endpoint differences for more information.

This returns a collection of driveItem resources that enumerates the set of items that have been shared with the current user.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "value": [
    {
      "id": "1312abc",
      "remoteItem": {   
        "id": "1991210caf!192",
        "name": "March Proposal.docx",
        "file": { },
        "size": 19121,
        "parentReference": {
          "driveId": "1991210caf",
          "id": "1991210caf!104"
        }
      }
    },
    {
      "id": "1312def",
      "remoteItem": {  
        "id": "1991210caf!1991",
        "name": "Team Roster.xlsx",
        "file": { },
        "size": 37619,
        "parentReference": {
          "driveId": "1991210caf",
          "id": "1991210caf!104"
        }
      }
    }
  ]
}
Error Responses

Read the Error Responses topic for more information about how errors are returned.