Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- listDrivesMe :: AccessToken -> Req (Collection Drive)
- listDrivesGroup :: Text -> AccessToken -> Req (Collection Drive)
- data Drive = Drive {
- dId :: Text
- dName :: Text
- dDescription :: Text
- dLastModifiedDateTime :: ZonedTime
- dDriveType :: Text
Documentation
listDrivesMe :: AccessToken -> Req (Collection Drive) Source #
List the current user's drives
GET /me/drives
:: Text | group ID |
-> AccessToken | |
-> Req (Collection Drive) |
To list the document libraries for a group, your app requests the drives relationship on the Group.
GET /groups/{groupId}/drives
types
The top-level object that represents a user's OneDrive or a document library in SharePoint.
OneDrive users will always have at least one drive available, their default drive. Users without a OneDrive license may not have a default drive available.
https://learn.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0
Drive | |
|
Instances
FromJSON Drive Source # | |
ToJSON Drive Source # | |
Defined in MSGraphAPI.Files.Drive | |
Generic Drive Source # | |
Show Drive Source # | |
type Rep Drive Source # | |
Defined in MSGraphAPI.Files.Drive type Rep Drive = D1 ('MetaData "Drive" "MSGraphAPI.Files.Drive" "ms-graph-api-0.11.0.0-5uHIC7CmGj38m31PNkaDsF" 'False) (C1 ('MetaCons "Drive" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "dName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "dDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dLastModifiedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ZonedTime) :*: S1 ('MetaSel ('Just "dDriveType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) |