Capability Sources
Read a OneDrive text or binary file as the calling member
Changed onReturns OneDrive metadata and content using strict-UTF-8 content sniffing: text is returned regardless of MIME type, while binary files are returned as standard base64 up to 10 MiB. Folders and oversized files return metadata with an explicit contentUnavailableReason.
get/v1/capabilities/microsoft-365/drive-file/{itemId}
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/capabilities/microsoft-365/drive-file/{itemId}
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Path parameters
itemIdstring required
Microsoft Graph drive item id.
Response
OneDrive file returned.
Changes
- info
the endpoint scheme security
bearerAuthwas added to the API - info
the endpoint scheme security
denApiKeywas added to the API
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info