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

MSGraphAPI.Drive

Synopsis

Documentation

getDriveMe :: AccessToken -> Req Drive Source #

Get drive of current user

getDriveItemChildren Source #

Arguments

:: Text

drive ID

-> Text

item ID

-> AccessToken 
-> Req (Collection DriveItem) 

List children in the root of the current user's drive

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

https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0&tabs=http#list-children-in-the-root-of-the-current-users-drive

data Drive Source #

Constructors

Drive 

Fields

Instances

Instances details
FromJSON Drive Source # 
Instance details

Defined in MSGraphAPI.Drive

Generic Drive Source # 
Instance details

Defined in MSGraphAPI.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.Drive

Methods

showsPrec :: Int -> Drive -> ShowS #

show :: Drive -> String #

showList :: [Drive] -> ShowS #

Eq Drive Source # 
Instance details

Defined in MSGraphAPI.Drive

Methods

(==) :: Drive -> Drive -> Bool #

(/=) :: Drive -> Drive -> Bool #

type Rep Drive Source # 
Instance details

Defined in MSGraphAPI.Drive

type Rep Drive = D1 ('MetaData "Drive" "MSGraphAPI.Drive" "ms-graph-api-0.11.0.0-5uHIC7CmGj38m31PNkaDsF" 'False) (C1 ('MetaCons "Drive" 'PrefixI 'True) (S1 ('MetaSel ('Just "dId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data DriveItem Source #

Constructors

DriveItem 

Fields

Instances

Instances details
FromJSON DriveItem Source # 
Instance details

Defined in MSGraphAPI.Drive

Generic DriveItem Source # 
Instance details

Defined in MSGraphAPI.Drive

Associated Types

type Rep DriveItem :: Type -> Type #

Show DriveItem Source # 
Instance details

Defined in MSGraphAPI.Drive

Eq DriveItem Source # 
Instance details

Defined in MSGraphAPI.Drive

type Rep DriveItem Source # 
Instance details

Defined in MSGraphAPI.Drive

type Rep DriveItem = D1 ('MetaData "DriveItem" "MSGraphAPI.Drive" "ms-graph-api-0.11.0.0-5uHIC7CmGj38m31PNkaDsF" 'False) (C1 ('MetaCons "DriveItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "diName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "diSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int64))))