Skip to main content
GET
Read a OneDrive or SharePoint text or binary file as the calling member

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

itemId
string
required

Microsoft Graph drive item id.

Required string length: 1 - 512

Query Parameters

driveId
string

The file's driveId from a search, folder or link result. Omit for the member's own OneDrive.

Required string length: 1 - 512

Response

OneDrive file returned.

ok
boolean
required
file
object
required