Get files shared with user in OneDrive

Get files that have been shared with the user in OneDrive. Use when user asks 'what files are shared with me', 'show shared OneDrive files'. NOTE: Requires Microsoft authentication via /oauth/microsoft/authorize.

get/api/v1/onedrive/shared

Request

  • Base URL: https://localhost:3000
  • URL: https://localhost:3000/api/v1/onedrive/shared
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)

Query parameters

max_resultsinteger

Maximum results (default: 25)

Response

Files shared with user

userstring
countinteger

Number of files in this page

nextPageTokenstring

Token to get next page (null if no more pages)

hasMoreboolean

Whether more files are available

Changes

No recorded changes to this operation across all 1 revision of this API.