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

MSGraphAPI.Files.Drive

Contents

Synopsis

Documentation

listDrivesMe :: AccessToken -> Req (Collection Drive) Source #

List the current user's drives

GET /me/drives

listDrivesGroup Source #

Arguments

:: 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

data Drive Source #

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

Instances

Instances details
FromJSON Drive Source # 
Instance details

Defined in MSGraphAPI.Files.Drive

ToJSON Drive Source # 
Instance details

Defined in MSGraphAPI.Files.Drive

Generic Drive Source # 
Instance details

Defined in MSGraphAPI.Files.Drive

Associated Types

type Rep Drive :: Type -> Type #

Methods

from :: Drive -> Rep Drive x #

to :: Rep Drive x -> Drive #

Show Drive Source # 
Instance details

Defined in MSGraphAPI.Files.Drive

Methods

showsPrec :: Int -> Drive -> ShowS #

show :: Drive -> String #

showList :: [Drive] -> ShowS #

type Rep Drive Source # 
Instance details

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)))))