ms-graph-api-0.3.0.0: Microsoft Graph API
Safe HaskellSafe-Inferred
LanguageHaskell2010

MSGraphAPI.Files.DriveItems

Synopsis

Documentation

downloadFileMe Source #

Arguments

:: Text

item ID

-> AccessToken 
-> Req ByteString 

download a complete file from user's directory

GET /me/drive/items/{item-id}/content

https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=http#request

downloadFile Source #

Arguments

:: Text

drive ID

-> Text

file ID

-> AccessToken 
-> Req ByteString 

download a file from a drive

GET /drives/{drive-id}/items/{item-id}/content

https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=http#request