| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
MSGraphAPI.Files.DriveItem
Synopsis
- data DriveItem = DriveItem {}
- downloadFileMe :: Text -> AccessToken -> Req ByteString
- downloadFile :: Text -> Text -> AccessToken -> Req ByteString
Documentation
Instances
| FromJSON DriveItem Source # | |
| Generic DriveItem Source # | |
| Show DriveItem Source # | |
| Eq DriveItem Source # | |
| Ord DriveItem Source # | |
| type Rep DriveItem Source # | |
Defined in MSGraphAPI.Files.DriveItem type Rep DriveItem = D1 ('MetaData "DriveItem" "MSGraphAPI.Files.DriveItem" "ms-graph-api-0.7.0.0-6iJNojiWxjhIHN0oe2Qeyg" 'False) (C1 ('MetaCons "DriveItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "diId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "diName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "diLastModifiedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocalTime)))) | |
Arguments
| :: Text | item ID |
| -> AccessToken | |
| -> Req ByteString |
download a complete file from user's directory
GET /me/drive/items/{item-id}/contentArguments
| :: Text | drive ID |
| -> Text | file ID |
| -> AccessToken | |
| -> Req ByteString |
download a file from a drive
GET /drives/{drive-id}/items/{item-id}/content