Capability Sources

Search OneDrive files as the calling member

Changed on

Searches the calling member's OneDrive by name and content, returning source links. This capability is delegated and read-only.

get/v1/capabilities/microsoft-365/drive-files

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/capabilities/microsoft-365/drive-files
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Query parameters

querystring required

Text to search in OneDrive file names and content.

maxResultsinteger

Maximum files to return, capped at 25.

Response

OneDrive files returned.

oktrue required

Changes

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status