Get recently accessed OneDrive files

Get files the user has recently accessed in OneDrive. Use when user asks 'my recent OneDrive files', 'what did I open recently in OneDrive'. NOTE: Requires Microsoft authentication via /oauth/microsoft/authorize.

get/api/v1/onedrive/recent

Request

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

Query parameters

max_resultsinteger

Maximum results (default: 25)

Response

Recently accessed files

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.